Installing VMWare Horizon client

I am having very similar issues trying to do a vm horizon agent update.
When i run the commands from the Admin dos window they run clean - but have 3-4 cmd windows popups flash by without need for input they disappear.

I have tried several variations but when from CLI no issue, and from Bigfix it always exits with a 1603 exit code.

  • one variation was to create a batch to run the exe, and copy both the exe and batch to another folder on the C: drive… I can run the batch from interactive login and dos admin command window, but when bigfix executes it still gets the same ‘1603’ error.

The server is Win2016, and BES client 10.0.4

I have rebuilt and tested many variations and am out of ideas.

The most basic action is: (same exit code with ‘waithidden’)

begin prefetch block

add prefetch item name=vmware-horizon-agent-x86_64-7.13.1-18035779.exe sha1=9ef782d85d06fc04d5975095b3beecd026ba713f size=260617944  url=http://10.10.10.24/repo/horizon/vmware-horizon-agent-x86_64-7.13.1-18035779.exe sha256=71a318192af8e513f32b204ae00680a9472310571056bb9e3d95bbf8d65c9028
end prefetch block


wait __Download\VMware-Horizon-Agent-x86_64-7.13.1-18035779.exe /s /v"/qn REBOOT=ReallySuppress SUPPRESS_RUNONCE_CHECK=1 URL_FILTERING_ENABLED=1 VDM_VC_MANAGED_AGENT=1 VDM_SERVER_NAME=SERVER0001.mydomain.com ADDLOCAL=Core,ClientDriveRedirection,RTAV,TSMMR,PerfTracker,HelpDesk,ScannerRedirection,PrintRedir,URLRedirection"

The besclient log shows:

Command succeeded (Exit Code=1603) wait __Download\VMware-Horizon-Agent-x86_64-7.13.1-18035779.exe /s /v"/qn REBOOT=ReallySuppress SUPPRESS_RUNONCE_CHECK=1 URL_FILTERING_ENABLED=1 VDM_VC_MANAGED_AGENT=1 VDM_SERVER_NAME=SERVER0001.mydomain.com ADDLOCAL=Core,ClientDriveRedirection,RTAV,TSMMR,PerfTracker,HelpDesk,ScannerRedirection,PrintRedir,URLRedirection" (action:303471)
At 17:08:16 -0400

I’ve moved this to a new topic; for history see the linked topic below.

@mesee2, since the original topic was marked as Solved, your new issue might not get much attention there.

Since this is a 64-bit package, try adding

action uses wow64 redirection false

Before your ‘wait’ command.

Same exit code=1603

Command succeeded (Exit Code=1603) wait __Download\VMware-Horizo

The logfile did report:
Wow64 redirection disabled. action uses wow64 redirection false

I’m going to take it on faith that all your command-line options are correct, because you said it works manually in a command prompt window and I don’t have a Horizon client to validate them.

It could be a problem parsing the quoted command lines; I think I’ve had similar problems before, so I fall back on the cmd.exe parser handling quotes. Try

wait cmd.exe /c ""__Download\VMware-Horizon-Agent-x86_64-7.13.1-18035779.exe" /s /v"/qn REBOOT=ReallySuppress SUPPRESS_RUNONCE_CHECK=1 URL_FILTERING_ENABLED=1 VDM_VC_MANAGED_AGENT=1 VDM_SERVER_NAME=SERVER0001.mydomain.com ADDLOCAL=Core,ClientDriveRedirection,RTAV,TSMMR,PerfTracker,HelpDesk,ScannerRedirection,PrintRedir,URLRedirection""

Same exit code.

I will push it back to the app team to validate with Vmware the silent install options and that it can really be run from 'SYSTEM" and not have to be a real user.

User context is the only other thing i can think of, as some examples have user/pw in the installer options but i was not provided any.

That installer is quite fussy - add

/l "{pathname of folder "temp" of windows folder}\VMWare_Agent_Installer.log"

before the /s - it produces a log of that name that is overwritten on every attempt plus another log with a timestamp in the name for each attempt.

The logs are quite readable

This is what we use for deployment, modified with your arguments

wait __Download\VMware-Horizon-Agent-x86_64-7.13.1-18035779.exe /silent /norestart ADDLOCAL=ALL DESKTOP_SHORTCUT=0 VDM_SERVER=SERVER0001.mydomain.com AUTO_UPDATE_ENABLED=0 REBOOT=ReallySuppress SUPPRESS_RUNONCE_CHECK=1 URL_FILTERING_ENABLED=1 VDM_VC_MANAGED_AGENT=1

1 Like