i have been trying to install horizon client version 5.4.2 or 5.4.0 on windows 7 but it fails silently and error just pops up install failed. it seems that the client is installed but around 90% of completion, it just fails. Have disabled antivirus also but same issue.
Attaching logs.
I have reviewed the logs and do see installations rolls back while appending 'hosts' file as it is unable to find it:
VMware_Horizon_Client_20200518145809_000_ViewClientx64.log:
vdmInstUtil: 05/18/20 15:00:26 Entering custom action VMAddViewLocalHostEntryToHostsFile
vdmInstUtil: 05/18/20 15:00:26 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.
vdmInstUtil: 05/18/20 15:00:26 File/directory does not exist: "C:\Windows\system32\Drivers\etc\hosts"
vdmInstUtil: 05/18/20 15:00:26 "C:\Windows\system32\Drivers\etc\hosts" does not exist.
vdmInstUtil: 05/18/20 15:00:26 Exiting custom action VMAddViewLocalHostEntryToHostsFile
CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
> Make sure 'hosts' file exists under C:\Windows\system32\Drivers\etc.If not, create one taking one of standard hosts file as template.
> Make sure it is set to 'Read & write', if not, manually modify the security permission to make it read&write.If you have a policy that sets the GPO to ready only or antivirus that enforces it , correct that.
Mark the reply as helpful/correct if it resolves your issue.
I have reviewed the logs and do see installations rolls back while appending 'hosts' file as it is unable to find it:
VMware_Horizon_Client_20200518145809_000_ViewClientx64.log:
vdmInstUtil: 05/18/20 15:00:26 Entering custom action VMAddViewLocalHostEntryToHostsFile
vdmInstUtil: 05/18/20 15:00:26 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.
vdmInstUtil: 05/18/20 15:00:26 File/directory does not exist: "C:\Windows\system32\Drivers\etc\hosts"
vdmInstUtil: 05/18/20 15:00:26 "C:\Windows\system32\Drivers\etc\hosts" does not exist.
vdmInstUtil: 05/18/20 15:00:26 Exiting custom action VMAddViewLocalHostEntryToHostsFile
CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
> Make sure 'hosts' file exists under C:\Windows\system32\Drivers\etc.If not, create one taking one of standard hosts file as template.
> Make sure it is set to 'Read & write', if not, manually modify the security permission to make it read&write.If you have a policy that sets the GPO to ready only or antivirus that enforces it , correct that.
Mark the reply as helpful/correct if it resolves your issue.
Thanks. hosts file is not present at the desired location. instead there was one tmphosts file at the location. generated the new hosts file with contents of tmphosts and it worked.
