You can include specific properties when you silently install View Agent from the command line. You must use a PROPERTY=value format so that Microsoft Windows Installer (MSI) can interpret the properties and values.

1 shows the View Agent silent installation properties that you can use at the command-line.

Table 1. MSI Properties for Silently Installing View Agent

MSI Property

Description

Default Value

INSTALLDIR

The path and folder in which the View Agent software is installed.

For example: INSTALLDIR=""D:\abc\my folder""

The sets of two double quotes that enclose the path permit the MSI installer to ignore the space in the path.

This MSI property is optional.

%ProgramFiles%\VMware\VMware View\Agent

RDPCHOICE

Determines whether to enable Remote Desktop Protocol (RDP) on the desktop.

A value of 1 enables RDP. A value of 0 leaves the RDP setting disabled.

This MSI property is optional.

1

UNITY_DEFAULT_APPS

Specifies a default list of default favorite applications that are displayed in the Unity Touch sidebar on a mobile device. This property was created to support the Unity Touch component. It is not a general MSI property.

For information about configuring a default list of favorite applications and about the syntax and format to use with this property, see Configure Favorite Applications Displayed by Unity Touch.

This MSI property is optional.

VDM_FORCE_DESKTOP_AGENT

Configures the machine as a single-user View desktop rather than as an RDS host when you install View Agent on a Windows Server operating system.

1

VDM_VC_MANAGED_AGENT

Determines whether vCenter Server manages the virtual machine on which View Agent is installed.

A value of 1 configures the desktop as a vCenter Server-managed virtual machine.

A value of 0 configures the desktop as unmanaged by vCenter Server.

This MSI property is required.

None

VDM_SERVER_NAME

The host name or IP address of the View Connection Server computer on which the View Agent installer registers an unmanaged desktop. This property applies to unmanaged desktops only.

For example: VDM_SERVER_NAME=10.123.01.01

This MSI property is required for unmanaged desktops.

Do not use this MSI property for virtual-machine desktops that are managed by vCenter Server.

None

VDM_SERVER_USERNAME

The user name of the administrator on the View Connection Server computer. This MSI property applies to unmanaged desktops only.

For example: VDM_SERVER_USERNAME=admin.companydomain.com

This MSI property is required for unmanaged desktops.

Do not use this MSI property for virtual-machine desktops that are managed by vCenter Server.

None

VDM_SERVER_PASSWORD

The View Connection Server administrator user password.

For example: VDM_SERVER_PASSWORD=secret

This MSI property is required for unmanaged desktops.

Do not use this MSI property for virtual-machine desktops that are managed by vCenter Server.

None

In a silent installation command, you can use the MSI property, ADDLOCAL=, to specify options that the View Agent installer configures.

2 shows the View Agent options you can type at the command line. These options have corresponding setup options that you can deselect or select during an interactive installation. For details about the custom setup options, see View Agent Custom Setup Options.

During an interactive installation, all of these options except PCoIP Smartcard are installed by default.

Table 2. View Agent Silent Installation Options and Interactive Custom Setup Options (Optional)

Silent Installation Option

Custom Setup Option in an Interactive Installation

USB

USB Redirection

HtmlAccess

HTML Access Agent

SVIAgent

View Composer Agent

RTAV

Real-Time Audio-Video

ScannerRedirection

Scanner Redirection

ThinPrint

Virtual Printing

V4V

vCenter Operations Manager for View

VPA

View Persona Management

Smartcard

PCoIP Smartcard. This feature is not installed by default in an interactive installation.

3 shows the View Agent features that are installed automatically. The features are installed on all guest operating systems on which they are supported. These features are not optional. You cannot control whether or not to install them by using the ADDLOCAL= property.

Table 3. View Agent Silent Installation Features That Are Installed Automatically (Not Optional)

Silent Installation Feature

Description

Core

The core View Agent functions.

If you specify ADDLOCAL=ALL, the Core features are installed.

ThinPrintPCoIP

Virtual Printing with PCoIP

PCoIP

PCoIP Protocol Agent

VmVideo

Virtual video driver

VmwVaudio

Virtual audio driver

UnityTouch

Unity Touch

MMR

Windows Media Multimedia Redirection (MMR) is installed in Horizon 6.0.2 and later on Windows 7 and Windows 8/8.1 desktops.

Win7 Multimedia Redirection (MMR) is installed in Horizon 6.0.1 and earlier on Windows 7 desktops.

You install the Flash URL Redirection feature by typing the command-line argument, FlashURLRedirection, in a silent installation. This feature is not installed during an interactive installation or by using ADDLOCAL=ALL in a silent installation.

For example: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn VDM_VC_MANAGED_AGENT=1 ADDLOCAL=Core,SVIAgent,ThinPrint,USB,HtmlAccess,FlashURLRedirection,RTAV"