Setup.exe commandline parameters.

/uninst
Uninstalls the product

/removeonly
Also uninstalls the product, but depending upon how authored it may display the welcome/maintenance dialog

/r
Record the installation to create an ISS answer file which may be used in a silent installation command

/s
Install silently. By default the silent installation is based on the response file called Setup.iss in the same directory. (Response files are created by running Setup.exe with the /r option.) To specify an alternative file name or location of the response file, use the /f1 parameter.

/f1″c:\temp\answerfile.iss”
Specifies an alternative response file name and path; by default /s will look for setup.iss in the same directory as the setup executable and /r will create setup.iss in the Windows directory (%windir%).

/f2″c:\temp\logfile.iss”
Specifies an alternative log file name and path; by default the log file will be created in the same directory as the setup executable with the name setup.log.

/SMS
Instructs a silent setup not to release the current session until the installation is complete. Without this switch a silent installation will immediately appear complete and run in the background. Use this switch to have any additional installations or script actions wait for installation to complete (such as in a batch file). The parameter was introduced to support MS Systems Management Server which would temporarily map a drive during installation to access source files (where it would immediately complete, and SMS would unmap the drive to the source files before the installation was complete.)

/m”MyMIF”
Generate a .MIF file (used by SMS and some other management solutions to report status information).

/m”MyMIF” /m1″1111-2222-”
Specifies the serial number to be written to a .MIF file (used with /m parameter)

/m”MyMIF”/m2″ENU”
Specifies the locale string to be written to a .MIF file (used with /m parameter)

/d”<path to folder containing setup.dbg>”
Debug InstallScript portion of the setup with the InstallScript debugger (ISDbg.exe). This is intended for setup authors to troubleshoot a setup and not for admins- the action requires a setup.dbg file to be available.

/f”AlternateSetup.inx”
Specify alternative compiled script. Setup.exe looks for a compiled script file named Setup.inx, this parameter may be used to specify a different name for the compiled script file. Note that in earlier versions of InstallShield (InstallShield – Windows Installer Edition), this parameter served to initiate a repair of the installation.

/L1031
/L1033
Specifies the language for the setup for those setups that support multiple languages. Language must be identified by decimal (LCID).

/delayedstart:10
Delay initialization of the installation. With this parameter, specify the amount of time (in seconds) by which initialization of the installation is to be delayed after Setup.exe is launched.

/deleter
Do not clone a second Setup.exe process when debugging. By default, Setup.exe clones a second process so that it properly uninstalls applications from machines on which no InstallScript installation had previously been run. Use this option when debugging a DLL function that is called from your own authored installation script.

/extract_all:”c:\temp”
Extract a package’s files but do not run the setup.

/hide_usd
Suppress update dialog box for multiple installations. When this parameter is used and an update-enabled installation detects multiple previous installations, the installation updates the first previous installation that it finds without prompting the user to select which product installation to update (default).

/ig
Specify the value of the system variable INSTANCE_GUID. If this option is not used, the installation automatically assigns a value to INSTANCE_GUID (for multi-instance installations, this value is a newly generated GUID; for standard installations, this value is the same as the value of PRODUCT_GUID).

/z
This parameter may be used to pass data to the InstallScript system variable CMDLINE.

/a
Perform an administrative installation. An administrative installation copies (and decompresses) your data files to a directory specified by the user, but it does not create shortcuts, register COM servers, or create an uninstall log.

/j
Advertise the installation. An advertised installation creates shortcuts, registers COM servers, and registers file types, but does not install your product’s files until the user invokes one of these installed entry points.

/x
Uninstall the installation (if previously installed).

/p:<password>
For a password protected setup, this option may be used to supply the password at the command line (normally in support of a silent installation).

/ua:<URL to InstMsiA.exe>
If download locations are specified in the setup, those paths may be overridden using this parameter. Note that only the path is required.

/uw:<URL to InstMsiW.exe>
If download locations are specified in the setup, those paths may be overridden using this parameter. Note that only the path is required.

/us:<URL to ISScript.msi>
If download locations are specified in the setup, those paths may be overridden using this parameter. Note that only the path is required.

/um:<URL to .MSI package>
If download locations are specified in the setup, those paths may be overridden using this parameter. Note that only the path is required.

/b<local directory>
If a path to locally cache setup files is specified, this path may be overridden using this parameter.

/v:<MSIEXEC parameters>
Pass command-line options and values of public properties through to Msiexec.exe.

/w
Forces Setup.exe to wait until the installation is complete before exiting (similar to /SMS).

/h
By default, the build engine automatically creates an installation that supports Setup.exe cloning in cases where cloning is required (such as in multi-disk installations). Specifiy this parameter to have Setup.exe clone itself to a temporary location and run from that location.