File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -348,6 +348,9 @@ Tools/Demos
348348Windows
349349-------
350350
351+ - Issue #28110: launcher.msi has different product codes between 32-bit and
352+ 64-bit
353+
351354- Issue #25144: Ensures TargetDir is set before continuing with custom
352355 install.
353356
Original file line number Diff line number Diff line change @@ -174,11 +174,12 @@ if not "%SKIPBUILD%" EQU "1" (
174174 @ echo off
175175)
176176
177- set BUILDOPTS = /p:Platform= %1 /p: BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI%
177+ set BUILDOPTS = /p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI%
178178if " %PGO% " NEQ " " set BUILDOPTS = %BUILDOPTS% /p:PGOBuildPath=%BUILD%
179- msbuild " %D% bundle\releaselocal.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true
179+ msbuild " %D% launcher\launcher.wixproj" /p:Platform=x86 %CERTOPTS% /p:ReleaseUri=%RELEASE_URI%
180+ msbuild " %D% bundle\releaselocal.wixproj" /t:Rebuild /p:Platform=%1 %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true
180181if errorlevel 1 exit /B
181- msbuild " %D% bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false
182+ msbuild " %D% bundle\releaseweb.wixproj" /t:Rebuild /p:Platform= %1 %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false
182183if errorlevel 1 exit /B
183184
184185msbuild " %D% make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS%
Original file line number Diff line number Diff line change 8787 <MSBuild Projects =" @(Package)" Targets =" $(BuildPackagesTargets)" BuildInParallel =" true" />
8888 </Target >
8989
90- <Target Name =" BuildLauncher" BeforeTargets =" BeforeBuild" Condition =" '$(RebuildAll)' != 'false'" >
91- <!--
92- Build the launcher MSI using Exec rather than MSBuild
93- Also, never use the test marker for the launcher. It's going to corrupt things anyway, so we'll
94- just disable it by default.
95- -->
96- <Exec Command =' msbuild ..\launcher\launcher.wixproj /p:Platform=x86 /p:ReleaseUri="$(ReleaseUri)" /p:OutputPath="$(BuildPath.TrimEnd(`\`))" /p:OutputSuffix=$(Platform) /p:BuildForRelease=$(BuildForRelease) /p:UseTestMarker=false'
97- ContinueOnError =" false" />
98- </Target >
99-
10090 <Target Name =" BuildBootstrapApplication" BeforeTargets =" BeforeBuild" >
10191 <Message Text =" Building bootstrap app" Importance =" high" />
10292
Original file line number Diff line number Diff line change 44 <PackageGroup Id =" launcher" >
55 <!-- The All Users launcher is always the 32-bit version -->
66 <MsiPackage Id =" launcher_AllUsers"
7- SourceFile =" launcher.msi"
7+ SourceFile =" !(bindpath.build32)en-us\ launcher.msi"
88 Compressed =" $(var.CompressMSI)"
99 DownloadUrl =" $(var.DownloadUrl)"
1010 ForcePerMachine =" yes"
1414 InstallCondition =" (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher" />
1515
1616 <MsiPackage Id =" launcher_JustForMe"
17- SourceFile =" launcher.msi"
17+ SourceFile =" !(bindpath.build32)en-us\ launcher.msi"
1818 Compressed =" $(var.CompressMSI)"
1919 DownloadUrl =" $(var.DownloadUrl)"
2020 ForcePerMachine =" no"
Original file line number Diff line number Diff line change 1616 <TargetPath >$(OutputPath)\en-us\$(TargetName)$(TargetExt)</TargetPath >
1717 <CleanCommand >rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"</CleanCommand >
1818 <Arguments >"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"</Arguments >
19- <Arguments >$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -b "$(OutDir.TrimEnd('\') )"</Arguments >
19+ <Arguments >$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -a "$(ArchName )"</Arguments >
2020 <Environment >set DOC_FILENAME=python$(PythonVersion).chm
2121set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT</Environment >
2222 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments