Silent install parameter ignored, InstallShield 2009

Steve Whitfield picture Steve Whitfield · Oct 25, 2010 · Viewed 10.7k times · Source

I've just inherited an InstallShield 2009 project from a guy who left (oh joy) and am trying to get the setup.exe to run in silent mode. The project is a Basic MSI project and according to the documentation, I should be able to specify the /s switch combined with /v/qn to make the installer and MSI process silent. However, when I do this, the process shows all the dialogs as normal. I've tried generating an answer file with the /r switch, but this fails to produce any sign of a setup.iss any where (I checked the windows folder, which is where it apparently goes).

Why would the process be ignoring the silent commands? I can see nothing in the install log that indicates a problem... The command line I am using is this:

setup.exe /s /v/qn

I've tried various combinations of lower and uppercase to no avail. Any advice would be appreciated.

Steve

Edit:

I've also tried:

setup.exe /s /v"/qn"

Which did not work also.

Edit 2:

It might be worth pointing out that the installer is performing and upgrade from a previous version of the product to a newer version. The first dialog that pops up is the "extracting msi" dialog followed by the "welcome to upgrade" dialog.

Answer

Jon Papageorgiou picture Jon Papageorgiou · Dec 18, 2012

The following should work for InstallShield 9:

Setup.exe /s /V/qn

If you want to send commands to the MSI, do the following:

Setup.exe /s /V"/qn ADDLOCAL=ALL"

NOTE: The v is capitalized. Some versions of InstallShield use lowercase and others use Uppercase for v.