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
a259b208
Commit
a259b208
authored
Oct 01, 2015
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #25165: Windows uninstallation should not remove launcher if other versions remain
parent
5f582a83
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
Misc/NEWS
Misc/NEWS
+4
-1
Tools/msi/common.wxs
Tools/msi/common.wxs
+4
-2
Tools/msi/launcher/launcher.wixproj
Tools/msi/launcher/launcher.wixproj
+1
-0
Tools/msi/launcher/launcher.wxs
Tools/msi/launcher/launcher.wxs
+7
-0
No files found.
Misc/NEWS
View file @
a259b208
...
...
@@ -244,7 +244,10 @@ Build
Windows
-------
- Issues #25112: py.exe launcher is missing icons
- Issue #25165: Windows uninstallation should not remove launcher if other
versions remain
- Issue #25112: py.exe launcher is missing icons
- Issue #25102: Windows installer does not precompile for -O or -OO.
...
...
Tools/msi/common.wxs
View file @
a259b208
...
...
@@ -22,17 +22,19 @@
</Upgrade>
<?if $(var.UpgradeCode)!=$(var.CoreUpgradeCode) ?>
<?ifndef SkipMissingCore ?>
<Upgrade
Id=
"$(var.CoreUpgradeCode)"
>
<UpgradeVersion
Property=
"MISSING_CORE"
Minimum=
"$(var.Version)"
IncludeMinimum=
"yes"
Maximum=
"$(var.Version)"
IncludeMaximum=
"yes"
OnlyDetect=
"yes"
/>
</Upgrade>
<Condition
Message=
"!(loc.IncorrectCore)"
>
Installed OR NOT MISSING_CORE
</Condition>
<?endif ?>
<?endif ?>
<Condition
Message=
"!(loc.NoDowngrade)"
>
Installed OR NOT DOWNGRADE
</Condition>
<Condition
Message=
"!(loc.IncorrectCore)"
>
Installed OR NOT MISSING_CORE
</Condition>
<Condition
Message=
"!(loc.NoTargetDir)"
>
Installed OR TARGETDIR OR Suppress_TARGETDIR_Check
</Condition>
<InstallExecuteSequence>
<RemoveExistingProducts
After=
"InstallInitialize"
>
UPGRADE
</RemoveExistingProducts>
<RemoveExistingProducts
After=
"InstallInitialize"
Overridable=
"yes"
>
UPGRADE
</RemoveExistingProducts>
</InstallExecuteSequence>
</Fragment>
...
...
Tools/msi/launcher/launcher.wixproj
View file @
a259b208
...
...
@@ -5,6 +5,7 @@
<SchemaVersion>
2.0
</SchemaVersion>
<OutputName>
launcher
</OutputName>
<OutputType>
Package
</OutputType>
<DefineConstants>
SkipMissingCore=1;$(DefineConstants)
</DefineConstants>
</PropertyGroup>
<Import
Project=
"..\msi.props"
/>
<ItemGroup>
...
...
Tools/msi/launcher/launcher.wxs
View file @
a259b208
...
...
@@ -26,6 +26,13 @@
<InstallExecuteSequence>
<Custom
Before=
"SetLauncherInstallDirectoryLM"
Action=
"SetLauncherInstallDirectoryCU"
>
NOT Installed AND NOT ALLUSERS=1
</Custom>
<Custom
Before=
"CostFinalize"
Action=
"SetLauncherInstallDirectoryLM"
>
NOT Installed AND ALLUSERS=1
</Custom>
<RemoveExistingProducts
After=
"InstallInitialize"
>
UPGRADE or REMOVE_OLD_LAUNCHER
</RemoveExistingProducts>
</InstallExecuteSequence>
<!-- Python 3.5.0 shipped with an incorrect UpgradeCode -->
<Upgrade
Id=
"A71530B9-E89D-53DB-9C2D-C6D7551876D8"
>
<UpgradeVersion
Maximum=
"$(var.Version)"
Property=
"REMOVE_OLD_LAUNCHER"
/>
</Upgrade>
</Product>
</Wix>
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