[Python-checkins] Fix registry key for Windows SDK detection (GH-12445)

Steve Dower webhook-mailer at python.org
Thu Mar 21 13:53:14 EDT 2019


https://github.com/python/cpython/commit/aedc273fd90e31c7a20904568de3115f8957395b
commit: aedc273fd90e31c7a20904568de3115f8957395b
branch: master
author: Isuru Fernando <isuruf at gmail.com>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2019-03-21T10:52:57-07:00
summary:

Fix registry key for Windows SDK detection (GH-12445)

files:
M PCbuild/python.props

diff --git a/PCbuild/python.props b/PCbuild/python.props
index a9dc9db4863f..3a0ddceda664 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -85,7 +85,7 @@
     matter which WinSDK version we use.
     -->
     <_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0 at ProductVersion)</_RegistryVersion>
-    <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0 at ProductVersion)</_RegistryVersion>
+    <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 at ProductVersion)</_RegistryVersion>
     <!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
     <_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0</_RegistryVersion>
 



More information about the Python-checkins mailing list