From 40708cc7d2361518a2784afedf495eafcc099de5 Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
<31488909+miss-islington@users.noreply.github.com>
Date: Sat, 4 Nov 2017 17:07:31 -0700
Subject: [PATCH] bpo-31944: Fixes build and Modify button (GH-4278) (#4284)
(cherry picked from commit 0d2a9088d16826343344b04461c8be44b4008710)
---
.../next/Windows/2017-11-04-15-29-47.bpo-31944.0Bx8tZ.rst | 1 +
PCbuild/pyproject.props | 1 +
PCbuild/python.props | 4 ++--
Tools/msi/bundle/bootstrap/pythonba.vcxproj | 6 ++++--
Tools/msi/bundle/bundle.wxs | 1 -
5 files changed, 8 insertions(+), 5 deletions(-)
create mode 100644 Misc/NEWS.d/next/Windows/2017-11-04-15-29-47.bpo-31944.0Bx8tZ.rst
diff --git a/Misc/NEWS.d/next/Windows/2017-11-04-15-29-47.bpo-31944.0Bx8tZ.rst b/Misc/NEWS.d/next/Windows/2017-11-04-15-29-47.bpo-31944.0Bx8tZ.rst
new file mode 100644
index 00000000000..767e70d997e
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2017-11-04-15-29-47.bpo-31944.0Bx8tZ.rst
@@ -0,0 +1 @@
+Fixes Modify button in Apps and Features dialog.
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 5a2da998c37..9a096bca6bd 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -7,6 +7,7 @@
$(OutDir)\
$(MSBuildThisFileDirectory)obj\
$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\$(ProjectName)\
+ $(IntDir.Replace(`\\`, `\`))
$(ProjectName)
$(TargetName)$(PyDebugExt)
false
diff --git a/PCbuild/python.props b/PCbuild/python.props
index c26f642a953..cf3158699ce 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -72,8 +72,8 @@
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.15063.0
+ 10.0.15063.0
10.0.14393.0
10.0.14393.0
10.0.10586.0
diff --git a/Tools/msi/bundle/bootstrap/pythonba.vcxproj b/Tools/msi/bundle/bootstrap/pythonba.vcxproj
index bcd39512b0a..75aad442a44 100644
--- a/Tools/msi/bundle/bootstrap/pythonba.vcxproj
+++ b/Tools/msi/bundle/bootstrap/pythonba.vcxproj
@@ -26,12 +26,14 @@
{7A09B132-B3EE-499B-A700-A4B2157FEA3D}
PythonBA
-
+
DynamicLibrary
Unicode
- $(Py_IntDir)\$(Configuration)_$(Platform)_Setup\Bootstrap\
+ $(PySourcePath)PCbuild\obj\
+ $(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\msi_$(ProjectName)\
+ $(IntDir.Replace(`\\`, `\`))
$(IntDir)
diff --git a/Tools/msi/bundle/bundle.wxs b/Tools/msi/bundle/bundle.wxs
index 02a456b3fd7..f6cff6fc351 100644
--- a/Tools/msi/bundle/bundle.wxs
+++ b/Tools/msi/bundle/bundle.wxs
@@ -8,7 +8,6 @@
IconSourceFile="..\..\..\PC\icons\setup.ico"
Manufacturer="!(loc.Manufacturer)"
AboutUrl="http://www.python.org/"
- DisableModify="button"
Compressed="no"
dep:ProviderKey="CPython-$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">