mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #25165: Windows uninstallation should not remove launcher if other versions remain
This commit is contained in:
parent
c4b7600b90
commit
c9fda9b903
4 changed files with 16 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue