Specifying Installation Commands
Use the Install Command field to enter the name of the installation command and the parameter switches that control the software installation. Click on the following links for information on the install commands of specific installers:
InstallShield Commands
Packages which use InstallShield can usually installed silently using a response file.
To generate an InstallShield response file:
1 Run the package installation with the -r parameter. This creates a response file, called SETUP.ISS, in the Windows directory of the PC.
2 Copy the response file to your installation kit directory. If you are installing the package from CD, you can include an explicit path for the response file. This response file is then included as a command switch in the Package Definition’s Install command.
Repeat this procedure for each Package Definition Install Type.
These parameters are optional. Each parameter must be preceded by a slash (/) or a dash (-) and multiple parameters must be separated by a space. Do not include spaces within parameters.
-R
Generates a silent installation file (.ISS file), which records your responses to the installation prompts. The file can then be used to supply the responses in silent installations. The file is saved to the Windows folder of the target PC.
-SMS
Prevents SETUP.EXE from closing before the installation is complete. The option must be entered in uppercase and placed first in the command line. This parameter is not supported on Windows 3.x versions of InstallShield.
-F<path\CompiledScript>
Loads a compiled script (.INS) file from the specified location. When using long paths and file names with options, enclose the expressions in double quotation marks. By default, InstallShield looks for script files in the directory where the SETUP.EXE is located.
-F1<path\ResponseFile>
Specifies the location and name of the response (.ISS) file to be used with an installation. If an alternative compiled script is also specified using the -F option, the -F1 option entry must follow it. By default, InstallShield looks for response files in the directory where the SETUP.EXE is located.
-F2<path\LogFile>
Specifies the location and name for the log file created by InstallShield Silent mode. If an alternative compiled script is also specified using the -F option, the -F2 option must follow it. By default, a file called SETUP.LOG is created and stored in the same directory as SETUP.EXE.
-S
Runs InstallShield in Silent mode.
-Windows 3
The -SMS parameter is not supported on Windows 3.x versions of InstallShield. Use this parameter to prevent can automated InstallShield installations from failing on Windows 3.x Clients.
Microsoft Commands (Pre-Windows Installer Service)
Use these parameters to prepare installation kits for Microsoft applications, such as Office 97, that do not use the Windows Installer Service.
When using the Package Definition Editor to modify a Package Definition for a Microsoft application, you must enter your license key information in the Install command field using the /C or /K parameter. Do not include any hyphens or spaces when entering the keys.
/A
Runs the setup in administrative mode. This option is available only when installing from the original media.
/B<type_num>
Specifies the type of setup to be performed, where <type_num> is a number that identifies Typical, Compact or Custom install. Note that the meaning of the number depends on the product selected.
/C "<coa>"
Specifies the product ID of the application, where <coa> is the 20-character ID supplied on the OEM certificate of authorization. This option requires a space before the "<coa>" and the key must be in quotes, without hyphens. This parameter validates the product ID and suppresses the product validation dialog.
/F
Performs an administrative installation using short (8.3) file names.
/K "<cd_key>"
Specifies the product key from the CD sticker, where <cd_key> is the 10-digit key from the CD sticker. Enter the key in double quotes, without hyphens, and include a space in front of it.
/Q [0 | 1 | T]
Runs the installation in silent mode. Use /Q1 to suppress the Exit dialog. Use /QT to suppress all dialogs including the background frame window and progress gauge. The /A and /Q options are mutually exclusive.
/R
Reinstalls the application
/U[A]
Uninstalls the application. /UA removes shared components without prompting the user. If /Q is also specified on the command line, the user is not prompted.
Microsoft Windows Installer Service Commands
These example parameters demonstrate the SETUP parameters for the Microsoft Office 2000 Windows Installer Service kit; other applications may use different options. Refer to the application documentation and resource kits on the Windows Installer Service for more information.
For information on preparing Windows Installer Service (MSI) applications for distribution to Clients, refer to the Software Distribution chapter in the User Manual.
/a
Starts an administrative installation.
/i [Filename.msi]
Specifies the .MSI file which SETUP.EXE will install.
/t [Filename.mst]
Specifies the name of the Transform (.MSI) file to use for the installation
/q
Sets the user interface level: /q means silent, /qb presents a basic interface, /qr presents a reduced interface.
/o [Property]=[Value]
Sets a property in the .MSI file which is passed to the installation. Use it to specify CD license key information. For example:
/o CDKEY=XXXXXX-XXXX
/m[Number]
Used to support multiple licenses, by writing the License Verification certificate. The /m option must be followed by the number of permitted unlocks.
/settings [Filename.ini]
Specifies an .INI file which contains the customized settings to be used during SETUP
Note
On Clients using Windows 95 or later operating systems, you can include environment variables, such as %TEMP% in the command line.
Related Topics