Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2176c527
Commit
2176c527
authored
Sep 17, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit
parent
6fb9a2fd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
16 deletions
+10
-16
Misc/NEWS
Misc/NEWS
+3
-0
Tools/msi/buildrelease.bat
Tools/msi/buildrelease.bat
+4
-3
Tools/msi/bundle/bundle.targets
Tools/msi/bundle/bundle.targets
+0
-10
Tools/msi/bundle/packagegroups/launcher.wxs
Tools/msi/bundle/packagegroups/launcher.wxs
+2
-2
Tools/msi/make_zip.proj
Tools/msi/make_zip.proj
+1
-1
No files found.
Misc/NEWS
View file @
2176c527
...
...
@@ -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
.
...
...
Tools/msi/buildrelease.bat
View file @
2176c527
...
...
@@ -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%
...
...
Tools/msi/bundle/bundle.targets
View file @
2176c527
...
...
@@ -87,16 +87,6 @@
<MSBuild
Projects=
"@(Package)"
Targets=
"$(BuildPackagesTargets)"
BuildInParallel=
"true"
/>
</Target>
<Target
Name=
"BuildLauncher"
BeforeTargets=
"BeforeBuild"
Condition=
"'$(RebuildAll)' != 'false'"
>
<!--
Build the launcher MSI using Exec rather than MSBuild
Also, never use the test marker for the launcher. It's going to corrupt things anyway, so we'll
just disable it by default.
-->
<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'
ContinueOnError=
"false"
/>
</Target>
<Target
Name=
"BuildBootstrapApplication"
BeforeTargets=
"BeforeBuild"
>
<Message
Text=
"Building bootstrap app"
Importance=
"high"
/>
...
...
Tools/msi/bundle/packagegroups/launcher.wxs
View file @
2176c527
...
...
@@ -4,7 +4,7 @@
<PackageGroup
Id=
"launcher"
>
<!-- The All Users launcher is always the 32-bit version -->
<MsiPackage
Id=
"launcher_AllUsers"
SourceFile=
"launcher.msi"
SourceFile=
"
!(bindpath.build32)en-us\
launcher.msi"
Compressed=
"$(var.CompressMSI)"
DownloadUrl=
"$(var.DownloadUrl)"
ForcePerMachine=
"yes"
...
...
@@ -14,7 +14,7 @@
InstallCondition=
"(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher"
/>
<MsiPackage
Id=
"launcher_JustForMe"
SourceFile=
"launcher.msi"
SourceFile=
"
!(bindpath.build32)en-us\
launcher.msi"
Compressed=
"$(var.CompressMSI)"
DownloadUrl=
"$(var.DownloadUrl)"
ForcePerMachine=
"no"
...
...
Tools/msi/make_zip.proj
View file @
2176c527
...
...
@@ -16,7 +16,7 @@
<TargetPath>
$(OutputPath)\en-us\$(TargetName)$(TargetExt)
</TargetPath>
<CleanCommand>
rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"
</CleanCommand>
<Arguments>
"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"
</Arguments>
<Arguments>
$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -
b "$(OutDir.TrimEnd('\')
)"
</Arguments>
<Arguments>
$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -
a "$(ArchName
)"
</Arguments>
<Environment>
set DOC_FILENAME=python$(PythonVersion).chm
set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT
</Environment>
</PropertyGroup>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment