- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom Parameter in Install Shield Express 2018
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi, i am trying to create Silent Installer and have .exe in Custom action which receive Argument.
Can any one tell me how to pass parameter from cmd during installer installation.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ali07860 ,
Installshield express does not have the property manger view where you can define the properties, it is available in the professional and premier editions.
However in express, you can call the setup.exe with the commandline parameter to define the properties during the installation, and the same property can be configured in the the EXE custom action command line.
setup.exe /v"PARAMETER=Value" or you can call the msi : msiexec /i setup.msi PARAMETER=Value
And in the EXE command line:
"[PARAMETER]"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ali07860 ,
You can do that by passing the property value from the setup.exe command line parameter.
setup.exe /v"PARAMETER=Value"
And ensure to create a public property(name in capital letters), in order to pass the value from the command line.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi@banna_k
But how and where i create a Public Property?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ali07860 ,
Installshield express does not have the property manger view where you can define the properties, it is available in the professional and premier editions.
However in express, you can call the setup.exe with the commandline parameter to define the properties during the installation, and the same property can be configured in the the EXE custom action command line.
setup.exe /v"PARAMETER=Value" or you can call the msi : msiexec /i setup.msi PARAMETER=Value
And in the EXE command line:
"[PARAMETER]"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks i figured it out.