...
1. When trying to install Horizon Client it fails.2. In the install logs (%temp%\vminst.log) we find the below error message: [2888:2918][2018-04-16T13:38:57]i301: Applying execute package: HTML5MMRx64, action: Install, path: C:\ProgramData\Package Cache\{810F152B-2D43-4B83-93CB-59DBCED47DA8}v1.0.0.32813\VMware Horizon HTML5 MMR (x64), arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALL_32BITRMKS="0"' [2888:2918][2018-04-16T13:38:59]e000: Error 0x80070643: Failed to install MSI package. [2888:2918][2018-04-16T13:38:59]e000: Error 0x80070643: Failed to execute MSI package. [2B48:2B4C][2018-04-16T13:38:59]e000: Error 0x80070643: Failed to configure per-machine MSI package. [2B48:2B4C][2018-04-16T13:38:59]i319: Applied execute package: HTML5MMRx64, result: 0x80070643, restart: None [2B48:2B4C][2018-04-16T13:38:59]e000: Error 0x80070643: Failed to execute MSI package. [2B48:2B4C][2018-04-16T13:38:59]i000: Bootstrapper_ExecutePackageBegin: Rolling back package HTML5MMRx64 3. Check VMware_Horizon_Client_2XXXX_00X_HTML5MMRx64.log MSI (s) (C8:94) [13:38:58:948]: Hello, I'm your 64bit Elevated Non-remapped custom action server. CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) With an agent installation, when checking the %temp%\vminst.log, you will find similar lines MSI (s) (0C:CC) [11:27:52:125]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIEB9.tmp, Entrypoint: VMAddViewLocalHostEntryToHostsFile CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Horizon will write an entry to the host file for multimedia redirection.This issue is caused by the host file on the system being set to read only or other permission restrictions.If you have a policy that sets the GPO to read only or antivirus that enforces this, you will encounter this issue. Horizon writes the following entry to your hostfile.127.0.0.1 view-localhost # View localhost server
File Location: C:\Windows\System32\drivers\etc\hosts Change the permissions for the host file on the system from read-only to read/write and ensure any 3rd party software that may interfere with the process is accounted for.You can change this attribute from read-only to read-write mode during the View Agent installation to allow the installation to proceed and permissions can be reverted after installation to satisfy organizational requirements.As an alternative, you can add this line to your host file directly - needed for MMR 127.0.0.1 view-localhost # View localhost server
You can use Process Monitor to gather a log while trying to install the package. You will see access denied error messages in these logs if there is a permissions issue .