Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7358efa

Browse files
committed
Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit
2 parents a7b1058 + 1c75c18 commit 7358efa

4 files changed

Lines changed: 6 additions & 13 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ Library
7171
Windows
7272
-------
7373

74+
- Issue #28110: launcher.msi has different product codes between 32-bit and
75+
64-bit
76+
7477
- Issue #28161: Opening CON for write access fails
7578

7679
- Issue #28162: WindowsConsoleIO readall() fails if first line starts with

Tools/msi/bundle/bundle.targets

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,6 @@
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

Tools/msi/bundle/packagegroups/launcher.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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"
@@ -14,7 +14,7 @@
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"

Tools/msi/make_zip.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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
2121
set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT</Environment>
2222
</PropertyGroup>

0 commit comments

Comments
 (0)