cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ali07860
Flexera beginner

Custom Parameter in Install Shield Express 2018

Jump to solution

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. 

0 Kudos
1 Solution

Accepted Solutions
Flexera banna_k
Flexera

Re: Custom Parameter in Install Shield Express 2018

Jump to solution

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]"

0 Kudos
4 Replies
Flexera banna_k
Flexera

Re: Custom Parameter in Install Shield Express 2018

Jump to solution

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.  

0 Kudos
ali07860
Flexera beginner

Re: Custom Parameter in Install Shield Express 2018

Jump to solution

Hi@banna_k 

But how and where i create a Public Property?

0 Kudos
Flexera banna_k
Flexera

Re: Custom Parameter in Install Shield Express 2018

Jump to solution

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]"

0 Kudos
ali07860
Flexera beginner

Re: Custom Parameter in Install Shield Express 2018

Jump to solution

Thanks i figured it out.

0 Kudos