Chromium Code Reviews
Descriptionwin: Use the _winreg module for registry access
This commit changes the Visual Studio installation path detection code to use
_winreg to find the installation path in the registry. The previous method of
using reg.exe is preserved as a fallback for when '_winreg' cannot be imported
(for example in cygwin).
Also, remove the '_RegistryKeyExists' function since it is not used anywhere.
BUG=
R=scottmg@chromium.org
Committed: https://code.google.com/p/gyp/source/detail?r=2002
Patch Set 1 #
Total comments: 3
Patch Set 2 : address review comments #Messages
Total messages: 6 (1 generated)
|