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
- :
- How to include a command line parameter when making a setup.exe with Installshield?
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
Aug 19, 2014
08:45 AM
How to include a command line parameter when making a setup.exe with Installshield?
I'm building an installscript MSI project with InstallShield 2014 professional. I'm trying to create a log file of the installation. I've set the "Create MSI Logs" property to voicewarmup, and a log file is created in a random location in %temp%. What I need though is to create the log file with a specific name in a specific location. With a basic MSI project you could just specify a location and prompt the user at the end of an installation to chose to view it. I don't have the same option with the installscript msi project. I did manage to copy the log file to a specific location+name when running the setup.exe file via cmd: setup.exe /verbose "filelocation\logname.log". Is there a way to have installshiled build the setup.exe file with the commandline parameters "built in"? when I try to add the command to "MSI command-line arguments" in the "release" tab, it sends the command only when the .exe runs the .msi, and then I get an error saying the command is invalid.
Also if there's a way to create a log file for the user to pick after installation is complete (like in the basic MSI project) - I'd love to hear.
Help appreciated, best regards,
Dean.
Also if there's a way to create a log file for the user to pick after installation is complete (like in the basic MSI project) - I'd love to hear.
Help appreciated, best regards,
Dean.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 26, 2014
02:33 PM
The Setup.exe tab of the Release allows you to specify a command line for the EXE to pass to the MSI: http://helpnet.flexerasoftware.com/installshield21helplib/installshield21helplib.htm#StartTopic=helplibrary/ReleaseGridSetupTab.htm