From 30f4fa456ef626ad7a92759f492ec7a268f7af4e Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 6 Nov 2017 12:52:09 -0800 Subject: bpo-31957: Fixes version detection. (#4298) --- PCbuild/python.props | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'PCbuild') diff --git a/PCbuild/python.props b/PCbuild/python.props index 2d48ed1e36..a826bbf283 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -73,14 +73,13 @@ possible version). Since we limit WINVER to Windows 7 anyway, it doesn't really matter which WinSDK version we use. --> - 10.0.15063.0 - 10.0.15063.0 - 10.0.14393.0 - 10.0.14393.0 - 10.0.10586.0 - 10.0.10586.0 - 10.0.10240.0 - 10.0.10240.0 + <_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) + <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) + 10.0.16299.0 + 10.0.15063.0 + 10.0.14393.0 + 10.0.10586.0 + 10.0.10240.0 -- cgit v1.2.1