April 12, 2016 - Sven Huisman

Silent install Horizon 7 agents

Yesterday I noticed that the silent parameters I normally used for the Horizon View agent (version 6.x) didn’t work anymore with the new Horizon 7 agent. Checking the logfile, I found out that the silent parameter “HtmlAccess” was unknown. After I opened the MSI with ORCA, I noticed HtmlAccess was not a feature anymore:

ViewAgent7-features

I assume it is replaced by the feature “BlastProtocol”, which includes the Blast Extreme feature. When you read the documentation for Horizon 7, you will notice that the feature table is not updated, it still mentions the “HtmlAccess” feature:

Silent parameters

If you replace HtmlAccess with BlastProtocol, you should be fine (I’m not sure if it installs by default if you don’t specify). The silent installation command for the Horizon 7 Agent now looks like this (parameters are case-sensitive!):

“VMware-viewagent-x86_64-7.0.0-3634043.exe” /s /v”/qn VDM_VC_MANAGED_AGENT=1 ADDLOCAL=Core,SVIAgent,ThinPrint,USB,PCoIP,BlastProtocol,RTAV,ClientDriveRedirection,VmVideo,VmwVaudio,TSMMR,UnityTouch”

UPDATE: The documentation is now updated on the VMware documentation site. Important to note is that if you use ADDLOCAL to specify features individually, that is, you do not specify ADDLOCAL=ALL, you must specify the following features explicitly. You must always specify Core.

Silent Installation Feature

Description

Core

The core Horizon Agent functions.

BlastProtocol

VMware Blast

PCoIP

PCoIP Protocol Agent

VmVideo

Virtual video driver

UnityTouch

Unity Touch

PSG

This features sets a registry entry that tells Connection Server whether Horizon Agent is using IPv4 or IPv6.

 

While I’m at it, here are the silent installation command for installing VMware User Environment Manager agent and the App Volumes agent:

VMware User Environment Manager agent

The silent installation command for the VMware User Environment Manager agent is:

msiexec.exe /i “VMware User Environment Manager 9.0 x64.msi” /qn

INSTALLDIR=”D:\Apps\VMware UEM” ADDLOCAL=”FlexProfilesSelfSupport” LICENSEFILE=”\\filesrv1\share\VMware UEM.lic” /l* InstallUEM.log

When you don’t specifiy the Installation directory, it will install in the default directory “%ProgramFiles%\Immidio\Flex Profiles”. The following values are supported for the property ADDLOCAL:

  • ALL
  • FlexEngine
  • FlexMigrate (automatically installs FlexEngine as well)
  • FlexProfilesSelfSupport (automatically installs FlexEngine as well)
  • FlexManagementConsole

And when you install the VMware User Environment Manager Agent on a machine where the Horizon agent is installed, you don’t need a license file. So make sure you install the User Environment Manager Agent AFTER the Horizon Agent. Then the silent installation command is a bit simpler:

msiexec.exe /i “VMware User Environment Manager 9.0 x64.msi” /qn ADDLOCAL=”FlexProfilesSelfSupport”

App Volumes Agent (2.x)

It is not in the documentation, but you can also silently install the App Volumes Agent:

msiexec.exe /i “App Volumes Agent.msi” /qn MANAGER_ADDR=appvolumes.svenhuisman.com MANAGER_PORT=443

The parameter “MANAGER_ADDR” can be the FQDN or IP-address of a single App Volumes Manager, the load balanced address of the App Volumes managers or a comma-seperated list of App Volumes Manager servers.

Virtual Desktop / Virtual Infrastructure Horizon / View / VMware /