Use the registry to find vmrun if the default VMware install path does not exist.

This commit is contained in:
Jeremy committed 2015-07-21 15:59:29 -06:00
1 parent 15a7401654
commit abd9c1dc48
2 files changed
+22 -8

No files matched your search

-2
View File
@@ -29,9 +29,7 @@ def _get_windows_interfaces_from_registry():
import winreg
#HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
interfaces = []
try:
hkey = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards")