]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Upgrade 64-bit KfW installations
authorBen Kaduk <kaduk@mit.edu>
Mon, 13 Aug 2012 22:01:47 +0000 (18:01 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 29 Aug 2012 23:17:17 +0000 (19:17 -0400)
We use separate UpgradeCodes for 32- and 64-bit installers, so
we must check for both of them when seeing if we are upgrading an
old/existing installation.

(cherry picked from commit 9470259dcd30c564af0eb30b9afbc9e0c492f79c)

ticket: 7335
status: resolved

src/windows/installer/wix/kfw.wxs

index c7b86ac9ea7904b3fed8dea604ea18965e0bbedc..20a70e5ed798bb8a12706655a8eabd20f45de163 100755 (executable)
        <AdminExecuteSequence />
         <InstallExecuteSequence>
        <Custom Action="KillRunningProcesses" After="InstallValidate"/>
-       <RemoveExistingProducts After="KillRunningProcesses">(Not Installed) And (UPGRADEPISMERE Or UPGRADEKFW)</RemoveExistingProducts>
+       <RemoveExistingProducts After="KillRunningProcesses">(Not Installed) And (UPGRADEPISMERE Or UPGRADEKFW Or UPGRADEKFW64)</RemoveExistingProducts>
        <Custom Action="RenameKrb5Ini_Cmd" Before="RenameKrb5Ini"/>
        <Custom Action="RenameKrb5Ini" Before="InstallFinalize">SYSTEMKRB5INI &lt;&gt; ""</Custom>
        <!-- When running with a UI, CCP_Success property is not passed down to the server. -->
         <Upgrade Id="61211594-AAA1-4A98-A299-757326763CC7">
             <UpgradeVersion IgnoreRemoveFailure="no" IncludeMinimum="no" Maximum="$(var.VersionString)" IncludeMaximum="yes" MigrateFeatures="yes" Property="UPGRADEKFW" />
         </Upgrade>
-       
+
+        <!-- KfW 64-bit MSI -->
+        <Upgrade Id="6DA9CD86-6028-4852-8C94-452CAC229244">
+            <UpgradeVersion IgnoreRemoveFailure="no" IncludeMinimum="no" Maximum="$(var.VersionString)" IncludeMaximum="yes" MigrateFeatures="yes" Property="UPGRADEKFW64" />
+        </Upgrade>
+
         <!-- NSIS installation -->
         <!-- The NSIS installation, being non-MSI, is detected and removed through other means. -->