From 1c75c18ed2242a9e274eea11815c67fe8a67df40 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Sat, 17 Sep 2016 16:12:55 -0700 Subject: [PATCH] Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit --- Misc/NEWS | 3 +++ Tools/msi/buildrelease.bat | 7 ++++--- Tools/msi/bundle/bundle.targets | 10 ---------- Tools/msi/bundle/packagegroups/launcher.wxs | 4 ++-- Tools/msi/make_zip.proj | 2 +- 5 files changed, 10 insertions(+), 16 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index d3e9fd72e69..1cf1819e359 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 2eae07ad4a7..e8da3ec22b0 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 aeeff3b7104..e0dae21202e 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 4444f45a980..7dae8ca7a68 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