1
votes

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.

2

2 Answers

5
votes

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.

1
votes

Try

setup.exe /s /v"/qn"

Basically /s is to tell setup.exe to run silent and /v is to pass parms to MSI so you have to wrap it in quotes. /qn tells MSI to run with no UI.

Setup.exe and Update.exe Command-Line Parameters

The Command-Line Options for the Microsoft Windows Installer Tool Msiexec.exe