Previously, the workstation is supported only when it is installed in default directory(C:\Program Files (x86)\VMware\VMware Workstation), because the windowsInstallDir is not initialized when setVmwareCmd is called in vmrun.go. This change is to move the logic into setVmwareCmd directly and return the full path of vmware binaries no matter it is installed in default directory or customized directory. We changed the registry Key for querying to support both workstation and Player.
Previously, the workstation is supported only when it is installed in default directory(C:\Program Files (x86)\VMware\VMware Workstation), because the windowsInstallDir is not initialized when setVmwareCmd is called in vmrun.go. This change is to move the logic into setVmwareCmd directly and return the full path of vmware binaries no matter it is installed in default directory or customized directory. We changed the registry Key for querying to support both workstation and Player.