From: Jeffrey Altman Date: Thu, 3 May 2007 22:57:05 +0000 (+0000) Subject: Modify WIX installer to better support upgrading betas X-Git-Tag: krb5-1.7-alpha1~1117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5bea666ba27f1735399d971bfd028a454f40e2c4;p=krb5.git Modify WIX installer to better support upgrading betas The WIX installers did not upgrade previous installations with the same version number as the current package being installed. This would leave multiple installations of KFW x.y.z registered as being installed on the machine even though only the most recent install is being used. This commit instructs the Windows Installer to uninstall previous installations with the same version number (the Maximum Upgrade version) as the package that is being installed while ensuring that the package being installed will not be uninstalled if the installation is being modified or repaired. ticket: new component: windows tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19541 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/installer/wix/kfw.wxs b/src/windows/installer/wix/kfw.wxs index f6262459d..6d0883c5f 100644 --- a/src/windows/installer/wix/kfw.wxs +++ b/src/windows/installer/wix/kfw.wxs @@ -148,7 +148,7 @@ - UPGRADEPISMERE Or UPGRADEKFW + (Not Installed) And (UPGRADEPISMERE Or UPGRADEKFW) UILevel = 0 And (Not Installed) And (CCP_Success <> 1) UPGRADENSIS <> "" And UILevel >= 4 @@ -171,7 +171,7 @@ - +