From c9fda9b903dc85be334e588b4be784e878248905 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 1 Oct 2015 15:19:39 -0700 Subject: Issue #25165: Windows uninstallation should not remove launcher if other versions remain --- Misc/NEWS | 5 ++++- Tools/msi/common.wxs | 6 ++++-- Tools/msi/launcher/launcher.wixproj | 1 + Tools/msi/launcher/launcher.wxs | 7 +++++++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 354e9ec..b7f42a2 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 9f96bd3..100a013 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 73f26a8..a0f1d57 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 b20cff8..718b666 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 + + + + + -- cgit v0.12