KFW BUG: WIX: 64-bit installer attempts to uninstall 32-bit NSIS
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 12 Dec 2007 03:45:42 +0000 (03:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 12 Dec 2007 03:45:42 +0000 (03:45 +0000)
The 64-bit MSI must examine Win64 registry keys and not the 32-bit registry
keys which is where the 32-bit NSIS installation will be detected.

ticket: new
component: windows
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20174 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/installer/wix/property.wxi

index b1f5c599bd31f92772a75bc619fac94fa6392c28..1477acc07977eeae8d35c19d8799cf325ef5ed89 100644 (file)
@@ -2,6 +2,7 @@
 <!--
 
   Copyright (C) 2004, 2005, 2006 by the Massachusetts Institute of Technology.
+  Copyright (C) 2007 Secure Endpoints Inc.
   All rights reserved.
  
   Export of this software from the United States of America may
     <Property Id="ComponentDownload">http://web.mit.edu/kerberos</Property>
 
     <Property Id="UPGRADENSIS">
-        <RegistrySearch Id="regsrch_NSIS" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Kerberos for Windows" Name="UninstallString" Type="raw"/>
+        <RegistrySearch Win64="$(var.Win64)" Id="regsrch_NSIS" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Kerberos for Windows" Name="UninstallString" Type="raw"/>
     </Property>
     
     <Property Id="NSISVERSION">
-        <RegistrySearch Id="regsrch_NSISV" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Kerberos for Windows" Name="DisplayVersion" Type="raw" />
+        <RegistrySearch Win64="$(var.Win64)" Id="regsrch_NSISV" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Kerberos for Windows" Name="DisplayVersion" Type="raw" />
     </Property>
 
     <Property Id="CantRemoveNSISError">$(loc.CantRemoveNSIS)</Property>