To install View components silently, you must use Microsoft Windows Installer (MSI) command-line options and properties. The View component installers are MSI programs and use standard MSI features.

For details about MSI, see the Microsoft Web site. For MSI command-line options, see the Microsoft Developer Network (MSDN) Library Web site and search for MSI command-line options. To see MSI command-line usage, you can open a command prompt on the View component computer and type msiexec /?.

To run a View component installer silently, you begin by disabling the bootstrap program that extracts the installer into a temporary directory and starts an interactive installation.

At the command line, you must enter command-line options that control the installer's bootstrap program.

Command-Line Options for a View Component's Bootstrap Program

Option

Description

/s

Disables the bootstrap splash screen and extraction dialog, which prevents the display of interactive dialogs.

For example: VMware-viewconnectionserver-y.y.y-xxxxxx.exe /s

The /s option is required to run a silent installation.

/v" MSI_command_line_options"

Instructs the installer to pass the double-quote-enclosed string that you enter at the command line as a set of options for MSI to interpret. You must enclose your command-line entries between double quotes. Place a double quote after the /v and at the end of the command line.

For example: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"command_line_options"

To instruct the MSI installer to interpret a string that contains spaces, enclose the string in two sets of double quotes. For example, you might want to install the View component in an installation path name that contains spaces.

For example: VMware-viewconnectionserver-y.y.y-xxxxxx.exe /s /v"command_line_options INSTALLDIR=""d:\abc\my folder"""

In this example, the MSI installer passes on the installation-directory path and does not attempt to interpret the string as two command-line options. Note the final double quote that encloses the entire command line.

The /v"command_line_options" option is required to run a silent installation.

You control the remainder of a silent installation by passing command-line options and MSI property values to the MSI installer, msiexec.exe. The MSI installer includes the View component's installation code. The installer uses the values and options that you enter in the command line to interpret installation choices and setup options that are specific to the View component.

MSI Command-Line Options and MSI Properties

MSI Option or Property

Description

/qn

Instructs the MSI installer not to display the installer wizard pages.

For example, you might want to install View Agent silently and use only default setup options and features:

VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn"

Alternatively, you can use the /qb option to display the wizard pages in a noninteractive, automated installation. As the installation proceeds, the wizard pages are displayed, but you cannot respond to them.

The /qn or /qb option is required to run a silent installation.

INSTALLDIR

Specifies an alternative installation path for the View component.

Use the format INSTALLDIR=path to specify an installation path. You can ignore this MSI property if you want to install the View component in the default path.

This MSI property is optional.

ADDLOCAL

Determines the component-specific features to install. In an interactive installation, the View installer displays custom setup options to select. The MSI property, ADDLOCAL, lets you specify these setup options on the command line.

To install all available custom setup options, enter ADDLOCAL=ALL.

For example: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn ADDLOCAL=ALL"

If you do not use the MSI property, ADDLOCAL, the default setup options are installed.

To specify individual setup options, enter a comma-separated list of setup option names. Do not use spaces between names. Use the format ADDLOCAL=value,value,value....

For example, you might want to install View Agent in a guest operating system with the View Composer Agent and PCoIP features:

VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn ADDLOCAL=Core,SVIAgent,PCoIP"

Note

The Core feature is required in View Agent.

This MSI property is optional.

REBOOT

You can use the REBOOT=ReallySuppress option to allow system configuration tasks to complete before the system reboots.

This MSI property is optional.

/l*v log_file

Writes logging information into the specified log file with verbose output.

For example: /l*v ""%TEMP%\vmmsi.log""

This example generates a detailed log file that is similar to the log generated during an interactive installation.

You can use this option to record custom features that might apply uniquely to your installation. You can use the recorded information to specify installation features in future silent installations.

The /l*v option is optional.