You can use command-line installation options to install Horizon Client on a Linux system.

Install Horizon Client silently by using the --console option along with other command-line options and environment variable settings. With silent installation, you can efficiently deploy View components in a large enterprise.

The following table lists the options you can use when you run the VMware-Horizon-Client-x.x.x-yyyyyyy.arch.bundle installer file.

Table 1. Linux Command-Line Installation Options

Option

Description

--help

Displays usage information.

--console

Enables you to use the command-line installer in a Terminal window.

--custom

Shows all installation questions, even if default answers have been scripted, such as, for example, by using the --set-setting options.

The default is --regular, which means show only questions that do not have a default answer.

--eulas-agreed

Agrees to the end user license agreement.

--gtk

Opens the GUI-based VMware installer, which is the default option. If the GUI cannot be displayed or loaded for any reason, console mode is used.

--ignore-errors or -I

Allows the installation to continue even if there is an error in one of the installer scripts. Because the section that has an error does not complete, the component might not be properly configured.

--regular

Shows installation questions that have not been answered before or are required. This is the default option.

--required

Shows the license agreement prompt only and then proceeds to install the client.

The default is --regular, which means show only questions that do not have a default answer.

--set-setting vmware-horizon-smartcard smartcardEnable yes

Installs the smart card component.

--set-setting vmware-horizon-rtav rtavEnable yes

Installs the ​ Real-Time Audio-Video component.

--set-setting vmware-horizon-usb usbEnable yes

Installs the USB redirection feature.

--set-setting vmware-horizon-virtual-printing tpEnable yes

Installs the virtual printing feature.

--set-setting vmware-horizon-tsdr tsdrEnable yes

Installs the client drive redirection feature.

--stop-services

(For Horizon Client 3.4 and later) Do not register and start installed services.

In addition to the options listed in the table, you can set the following environment variables.

Table 2. Linux Environment Variable Installation Settings

Variable

Description

TERM=dumb

Displays a very basic text UI.

VMWARE_EULAS_AGREED=yes

Allows you to silently accept the product EULAs.

VMWARE_KEEP_CONFIG=yes

For Horizon Client 3.2 and earlier, retains the configuration if you uninstall the client software.

VMIS_LOG_LEVEL=value

Use one of the following values for value:

  • NOTSET

  • DEBUG

  • INFO

  • WARNING

  • ERROR

  • CRITICAL

Log information is recorded in /tmp/vmware-root/vmware-installer-pid.log.

Silent Installation Commands

Following is an example of how to install Horizon Client silently, and, for each component, the example specifies whether to install that component.

sudo env TERM=dumb VMWARE_EULAS_AGREED=yes \

./VMware-Horizon-Client-x.x.x-yyyyyyy.arch.bundle --console \

--set-setting vmware-horizon-usb usbEnable no \

--set-setting vmware-horizon-virtual-printing tpEnable yes \

--set-setting vmware-horizon-smartcard smartcardEnable no\
        
--set-setting vmware-horizon-rtav rtavEnable yes \

--set-setting vmware-horizon-tsdr tsdrEnable yes

This next example shows how to perform a silent installation of Horizon Client using the default settings.

sudo env TERM=dumb VMWARE_EULAS_AGREED=yes \
./VMware-Horizon-Client-x.x.x-yyyyyyy.arch.bundle --console --required