From: Steve Dower Date: Sat, 17 Sep 2016 23:12:55 +0000 (-0700) Subject: Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit X-Git-Tag: v3.6.0b2~180^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c75c18ed2242a9e274eea11815c67fe8a67df40;p=python Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit --- diff --git a/Misc/NEWS b/Misc/NEWS index d3e9fd72e6..1cf1819e35 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -348,6 +348,9 @@ Tools/Demos Windows ------- +- Issue #28110: launcher.msi has different product codes between 32-bit and + 64-bit + - Issue #25144: Ensures TargetDir is set before continuing with custom install. diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index 2eae07ad4a..e8da3ec22b 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -174,11 +174,12 @@ if not "%SKIPBUILD%" EQU "1" ( @echo off ) -set BUILDOPTS=/p:Platform=%1 /p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI% +set BUILDOPTS=/p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI% if "%PGO%" NEQ "" set BUILDOPTS=%BUILDOPTS% /p:PGOBuildPath=%BUILD% -msbuild "%D%bundle\releaselocal.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true +msbuild "%D%launcher\launcher.wixproj" /p:Platform=x86 %CERTOPTS% /p:ReleaseUri=%RELEASE_URI% +msbuild "%D%bundle\releaselocal.wixproj" /t:Rebuild /p:Platform=%1 %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true if errorlevel 1 exit /B -msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false +msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild /p:Platform=%1 %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false if errorlevel 1 exit /B msbuild "%D%make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS% diff --git a/Tools/msi/bundle/bundle.targets b/Tools/msi/bundle/bundle.targets index aeeff3b710..e0dae21202 100644 --- a/Tools/msi/bundle/bundle.targets +++ b/Tools/msi/bundle/bundle.targets @@ -87,16 +87,6 @@ - - - - - diff --git a/Tools/msi/bundle/packagegroups/launcher.wxs b/Tools/msi/bundle/packagegroups/launcher.wxs index 4444f45a98..7dae8ca7a6 100644 --- a/Tools/msi/bundle/packagegroups/launcher.wxs +++ b/Tools/msi/bundle/packagegroups/launcher.wxs @@ -4,7 +4,7 @@ $(OutputPath)\en-us\$(TargetName)$(TargetExt) rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)" "$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py" - $(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -b "$(OutDir.TrimEnd('\'))" + $(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -a "$(ArchName)" set DOC_FILENAME=python$(PythonVersion).chm set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT