InstallShield Command-Line Parameters
InstallShield uses setup.exe as the bootstrap loader to call the Microsoft Windows Installer service. Setup.exe can accept command-line parameters that allow you to perform administrative installations, run silent installations, and complete other administrative tasks. Using the /v parameter, other parameters can also be passed through setup.exe to the Windows Installer database (MSI package).
By default, setup.exe creates a verbose installation
log with the file name pcsinst.log, and places it in the folder named
by the environment variable %temp%. This behavior is overridden
when command-line arguments are passed to the Windows Installer
using the /v parameter, as described in Parameter Descriptions.
Note: If %temp% points to a nonexistent folder and
the /v flag is not used to override the default parameters passed
to the Windows Installer, then setup.exe
will fail.
Setup.exe accepts the command-line parameters listed in Table 1. Descriptions of each parameter are listed in Parameter Descriptions.
Parameter | Description |
---|---|
/v | Passes parameters to MSI package. |
/s | Causes setup.exe to be silent. |
/l | Specifies the setup language. |
/a | Performs administrative installation. |
/j | Installs in advertise mode. |
/x | Performs setup uninstall. |
/f | Launches setup in repair mode. |
/w | Setup.exe waits for the installation to finish before exiting. |
/qn | A Windows Installer MSI parameter that causes everything but setup.exe to be silent. This sets the user interface level to zero. |