Running Installations in Silent Mode

InstallShield 2012 Spring

Silent installations are installations that run without an end-user interface. If you want your installation to run silently, InstallShield allows you to create silent installations for Basic MSI, InstallScript MSI, and InstallScript project types.

Basic MSI Silent Installations

To run a Basic MSI installation silently, type the following at the command line:

msiexec /i Product.msi /qn

If your release settings include Setup.exe, you can run the following command:

Setup.exe /s /v"/qn"

Basic MSI installations do not create or read response files. To set installation properties for a Basic MSI project, run a command line such as:

msiexec /i Product.msi /qn INSTALLDIR=D:\ProductFolder USERNAME="Valued Customer"

InstallScript MSI and InstallScript Silent Installations

For InstallScript MSI and InstallScript projects, you need to record a response file that records the end-user interaction. This response file is passed to Setup.exe so that the installation can be run. The traditional silent installation works almost exactly the same as regular installations. It follows the same script logic as the regular installation.

If you need to install an InstallScript MSI installation without using Setup.exe, you can use the MSI silent mode.