This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Help with command line parameters
Subscribe
- 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
‎May 21, 2008
09:23 AM
Help with command line parameters
Hello,
I just can't seem to get the command line parameters working when trying to run my install package from the command line. Bascially, I want to run my install shield 2008 package, sending in a parameter for the version. In the past, I used to set a Path Variable to the version number, this is then used to determine where to get all my files. How can install shield receive a parameter and set a path variable with it?
Thanks in advance for all your help
I just can't seem to get the command line parameters working when trying to run my install package from the command line. Bascially, I want to run my install shield 2008 package, sending in a parameter for the version. In the past, I used to set a Path Variable to the version number, this is then used to determine where to get all my files. How can install shield receive a parameter and set a path variable with it?
Thanks in advance for all your help
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2008
05:55 PM
Could you post a specific example of what you're trying to do? Are you changing a source path variable at build time (from a command-line build), or changing an installation path at run time?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2008
02:17 PM
jschertzer wrote:
Hello,
I just can't seem to get the command line parameters working when trying to run my install package from the command line. Bascially, I want to run my install shield 2008 package, sending in a parameter for the version. In the past, I used to set a Path Variable to the version number, this is then used to determine where to get all my files. How can install shield receive a parameter and set a path variable with it?
Thanks in advance for all your help
One way to send parameter to setup.exe is go to your release location, click setup.exe tab and in MSI command line argument you can specify your command line argument which can be used at run time.
e.g for /L*v C:\Install.log this will tell setup.exe to create a install.log file in verbose mode during run time. if you have compiled installed then you can also specify command line argument manually in setup.exe
e.g [Startup]
CmdLine=/L*v C:\Install.log
HTH