TOC PREV NEXT INDEX

PCDuo Logo
Enterprise User Manual


Appendix B

Installation Commands


When you purchase third-party software, you can use the Distribute Software Operation to install the software across the Clients on your network (for more information, see Chapter 13, "Software Distribution"). This appendix details the command line parameters you can use to control your software roll-outs with some of the most common installation packages.

InstallShield Command Line Parameters

This section summarizes the command line options that can be used with the InstallShield SETUP application.

These switches are optional, but a slash (/) or a dash (-) must precede each option. You must separate multiple options with a space, but do not put a space inside a command line parameter. For example, -r -fInstall.ins is valid, but -r-f Install.ins is not.

-R

Causes SETUP.EXE to automatically generate a silent installation file (.ISS file), which records your responses to the installation prompts. The file is stored in the Windows folder.

-SMS

The SMS option prevents a network connection and the SETUP.EXE from closing before the installation is complete. The option must be entered in uppercase, and placed first in the command line.

The -SMS command option is not supported on Windows 3.x versions of InstallShield.
-F<path\CompiledScript>
By default, InstallShield looks for compiled script (.INS) files in the directory where the SETUP.EXE is located. Use this option to load a script file from another location.

When using long paths and file names with options, enclose the expressions in double quotation marks.
-F1<path\ResponseFile>

By default, InstallShield looks for response (.ISS) files in the directory where the SETUP.EXE is located. Use this option to load a response file from another location. If an alternative compiled script is specified using the -F option, the -F1 option entry must follow it.

-F2<path\LogFile>

By default, InstallShield's SETUP.LOG file is created and stored in the same directory as that of SETUP.EXE. If an alternative compiled script is specified using the -F option, the -F2 option must follow it.

-S

Run InstallShield Silent to execute a silent installation.

Microsoft Setup Parameters

This section summarizes the command options used to install older versions of Microsoft packages, such as Office 97.

/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. <type_num> can be a number which refers to Typical, Compact or Custom. The meaning of this number vary across Microsoft products.

/C "<coa>"

If your product was supplied with a 20-digit license key, use this option to enter the key and bypass the key validation dialog. You must enter a space before the key and enclose it in double quotation marks.

/K "<cd_key>"

If your product was supplied with a 10-digit license key, use this option to enter the key and bypass the key validation dialog. You must enter a space before the key and enclose it in double quotation marks.

The license key can be found on the Product Authorization Certificate or on the CD casing.
/F

Performs an installation using only short (8.3) file names.

/Q [0 | 1 | T]

Run in silent installation 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. If /Q is also specified, the user is not prompted about removing shared components. /UA removes shared components without prompting the user.

Windows Installer Service SETUP Command Options

The following options are available for use with the Windows Installer Service's SETUP.EXE command line. These are example options that apply to the Microsoft Office 2000 SETUP; other applications' SETUP programs may offer different options. Refer to the application documentation and resource kits for precise information on the Windows Installer Service.

/a [msifile]

Performs an administrative installation of the specified package.

/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. Used for specifying CD license keys, 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 a number which indicates the number of permitted unlocks.

/settings [Filename.ini]

Enables you to specify an .INI file which contains the customized settings to be used during SETUP - see the following section for more details on this option.

Specifying SETUP Settings file information in SETUP.INI

You can use the /settings option to load the Windows Installers Service parameters from a SETUP.INI file. The SETUP.INI file must be located in the same directory as the Package's SETUP.EXE, along with the .MS* files. The file has the following structure:

[msi]

Specifies the path to the Administrative Installation Point. Corresponds to the /i command option.

[mst]

Specifies the Transform to be used with this installation.

[options]

Enables you to set or override properties in the .MSI or .mst files.

[display]

Used to specify the user interface level during setup. Corresponds to the /q command option. Possible values are None, Basic, Reduced and Full.

An example INI file is shown here:

 [MSI] MSI=\\MyServer\AdminPoints\Office2K\Data1.MSI [MST] 
MST1=Custom Outlook Setup File.MST [Options] [Display] Display=None


Vector Logo
Vector Networks
http://www.vector-networks.com
Voice: +44 (0) 1827 67333
Fax: +44 (0) 1827 67068
info@vector-networks.co.uk
TOC PREV NEXT INDEX