From: Steve Dower Date: Thu, 1 Oct 2015 22:19:39 +0000 (-0700) Subject: Issue #25165: Windows uninstallation should not remove launcher if other versions... X-Git-Tag: v3.5.1rc1~228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9fda9b903dc85be334e588b4be784e878248905;p=thirdparty%2FPython%2Fcpython.git Issue #25165: Windows uninstallation should not remove launcher if other versions remain --- diff --git a/Misc/NEWS b/Misc/NEWS index 354e9ec1d14b..b7f42a2b5c92 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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. diff --git a/Tools/msi/common.wxs b/Tools/msi/common.wxs index 9f96bd3f4cdc..100a0138db31 100644 --- a/Tools/msi/common.wxs +++ b/Tools/msi/common.wxs @@ -22,17 +22,19 @@ + + Installed OR NOT MISSING_CORE + Installed OR NOT DOWNGRADE - Installed OR NOT MISSING_CORE Installed OR TARGETDIR OR Suppress_TARGETDIR_Check - UPGRADE + UPGRADE diff --git a/Tools/msi/launcher/launcher.wixproj b/Tools/msi/launcher/launcher.wixproj index 73f26a8e1979..a0f1d574fca0 100644 --- a/Tools/msi/launcher/launcher.wixproj +++ b/Tools/msi/launcher/launcher.wixproj @@ -5,6 +5,7 @@ 2.0 launcher Package + SkipMissingCore=1;$(DefineConstants) diff --git a/Tools/msi/launcher/launcher.wxs b/Tools/msi/launcher/launcher.wxs index b20cff859d23..718b666a5c74 100644 --- a/Tools/msi/launcher/launcher.wxs +++ b/Tools/msi/launcher/launcher.wxs @@ -26,6 +26,13 @@ NOT Installed AND NOT ALLUSERS=1 NOT Installed AND ALLUSERS=1 + + UPGRADE or REMOVE_OLD_LAUNCHER + + + + +