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
- :
- Where are prerequisite command line parameters stored?
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
Jun 02, 2010
10:23 AM
Where are prerequisite command line parameters stored?
I need to recover the command-line parameters I specified (using the prerequisite editor) for an old build that installed SQL Server 2008 as a prerequisite. My old computer was wiped and I lost all the merge modules / prerequisite files! I have downloaded a new, fresh prerequisite for SQL Server 2008, but of course it only has the original default command line parameters. I need to know what the old parameters were, and I'm sure that information can be found somewhere on the old build CD, but where?
I have looked in setup.ini, my application's *.ini file, etc., but no luck so far. Does anyone know where to find this information??
Also, another question -- since I have the CD with the old build, could I simply copy the files in the ISSetupPrerequisites folder; i.e., do they have their command line parameters stored within them? If so, that solves the problem. But I am thinking the parameters are stored somewhere else (in the compiled setup.exe maybe?).
Thanks for any information.
I have looked in setup.ini, my application's *.ini file, etc., but no luck so far. Does anyone know where to find this information??
Also, another question -- since I have the CD with the old build, could I simply copy the files in the ISSetupPrerequisites folder; i.e., do they have their command line parameters stored within them? If so, that solves the problem. But I am thinking the parameters are stored somewhere else (in the compiled setup.exe maybe?).
Thanks for any information.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 07, 2010
03:37 PM
Here is the solution they provided, in case anyone needs to know:
The command line parameters used in launching a prerequisite are in the compiled setup.exe so unfortunately it cannot be retrieved this way. However, a setup.exe log will record the parameters used, but this method is only available starting with InstallShield 2009. Was the old build of the setup built in InstallShield 2009? If so, please try running your setup from a command line with the /debuglog option, e.g.:
setup.exe /debuglog"C:\debuglog.txt"
The log file will have several lines indicating the parameters used, such as the following:
Creating new process for prerequisite, launching command line...
The command line parameters used in launching a prerequisite are in the compiled setup.exe so unfortunately it cannot be retrieved this way. However, a setup.exe log will record the parameters used, but this method is only available starting with InstallShield 2009. Was the old build of the setup built in InstallShield 2009? If so, please try running your setup from a command line with the /debuglog option, e.g.:
setup.exe /debuglog"C:\debuglog.txt"
The log file will have several lines indicating the parameters used, such as the following:
Creating new process for prerequisite, launching command line...
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)