Table 8 lists command line parameters that you can use with setup.exe. These switches are optional, but note that either a slash (/) or a dash (-) must precede the parameters. Separate multiple parameters with a space. Do not put a space inside a parameter (for example /r /fInstall.ins is valid, but not /r /f Install.ins).
When using long path name and file name expressions with switches, enclose
the expressions in double quotation marks. The double quotes tell the
operating system that spaces within the quotation marks are not to be treated
as command line delimiters.
Table 8. Command Line Parameters to Use with Setup.exe
Command Line Parameter | Description |
---|---|
-f<path\CompileScript> | The alternate compiled script can be specified using this option. Unless the compiled script (.ins file) also resides in the same directory as Setup.exe, the full path to the compiled script must be specified. |
-f1<path\ResponseFile> | The alternate location and name of the response file (.iss file) can be specified using this option. If this option is used when running InstallShield Silent, the response file is read from the folder or file specified by <path\ResponseFile>. If this option is used along with the r option, the response file is written to the folder or file specified by <path\ResponseFile>. If an alternate compiled script is specified using the f switch, the f1 switch entry must follow the f switch entry. |
-f2<path\LogFile> | The alternate location and name of the log file created can be specified by using this option. By default, Setup.log log file is created and stored in the same directory as that of Setup.ins. If an alternate compiled script is specified using the f switch, the f2 switch entry must follow the f switch entry. |
-r | Causes Setup.exe to automatically generate a silent installation file (.iss). The .iss file is a recording of the installation process stored in the WINDIR folder. |
-s | Run InstallShield Silent to do a silent installation. |
-SMS (note only the SMS switch is case sensitive) | The SMS switch prevents a network connection and the Setup.exe from closing before the installation is complete. The switch works with installations originating from a Windows NT server over a network. |