diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-11-04 23:28:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 23:28:47 (GMT) |
commit | 0d2a9088d16826343344b04461c8be44b4008710 (patch) | |
tree | f956ba2cf4b76578bf98cfcb6537bbd1aa88dca9 /Tools/msi | |
parent | aafece7a9e010075fff4420cfbb16f1ec0342698 (diff) | |
download | cpython-0d2a9088d16826343344b04461c8be44b4008710.zip cpython-0d2a9088d16826343344b04461c8be44b4008710.tar.gz cpython-0d2a9088d16826343344b04461c8be44b4008710.tar.bz2 |
bpo-31944: Fixes build and Modify button (#4278)
Diffstat (limited to 'Tools/msi')
-rw-r--r-- | Tools/msi/bundle/bootstrap/pythonba.vcxproj | 6 | ||||
-rw-r--r-- | Tools/msi/bundle/bundle.wxs | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Tools/msi/bundle/bootstrap/pythonba.vcxproj b/Tools/msi/bundle/bootstrap/pythonba.vcxproj index bcd3951..75aad44 100644 --- a/Tools/msi/bundle/bootstrap/pythonba.vcxproj +++ b/Tools/msi/bundle/bootstrap/pythonba.vcxproj @@ -26,12 +26,14 @@ <ProjectGuid>{7A09B132-B3EE-499B-A700-A4B2157FEA3D}</ProjectGuid> <TargetName>PythonBA</TargetName> </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="..\..\wix.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <CharacterSet>Unicode</CharacterSet> - <IntDir>$(Py_IntDir)\$(Configuration)_$(Platform)_Setup\Bootstrap\</IntDir> + <Py_IntDir Condition="'$(Py_IntDir)' == ''">$(PySourcePath)PCbuild\obj\</Py_IntDir> + <IntDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\msi_$(ProjectName)\</IntDir> + <IntDir>$(IntDir.Replace(`\\`, `\`))</IntDir> <OutDir>$(IntDir)</OutDir> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> diff --git a/Tools/msi/bundle/bundle.wxs b/Tools/msi/bundle/bundle.wxs index 02a456b..f6cff6f 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)"> <BootstrapperApplication Id="PythonBA" SourceFile="$(var.BootstrapApp)"> |