List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:February 2 2012 7:42pm
Subject:bzr commit into connector-net-6.3 branch (reggie.burnett:1137)
View as plain text  
#At file:///C:/work/connector-net/6.3/ based on revid:fer.gonzalez@stripped

 1137 Reggie Burnett	2012-02-02
      fix installer to not do a side by side install if 6.3.8 isinstalled.  6.3.8 allowed upgrades but was per-user and we are now per-install

    modified:
      Installer/main.wxs
=== modified file 'Installer/main.wxs'
=== modified file 'Installer/main.wxs'
--- a/Installer/main.wxs	2011-12-09 23:27:44 +0000
+++ b/Installer/main.wxs	2012-02-02 19:42:03 +0000
@@ -43,7 +43,13 @@
       <RegistrySearch Id="Pre638" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\{5FD88490-011C-4df1-B886-F298D955171B}" Name="DisplayVersion" Root="HKLM" Type="raw"/>
     </Property>
     <Condition Message="A previous version of Connector/Net 6.3 or higher is already installed.  Please uninstall that version first.">Not PREUPGRADEVERSION</Condition>
-        
+
+    <!-- handle 6.3.8 that allowed upgraded but was per-user and we are now per-machine -->
+    <Property Id="PERUSERINSTALL">
+      <RegistrySearch Id="Reg638" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\{E720BB76-38AA-43EF-A638-508DDE124FE0}" Name="DisplayVersion" Root="HKLM" Type="raw"/>
+    </Property>
+    <Condition Message="A previous version of Connector/Net is installed that cannot be automatically uninstalled.  You will need to remove it manually first.">Not PERUSERINSTALL</Condition>
+
     <Property Id="HLM_LOCATION">
       <RegistrySearch Id="HLMRegSearch" Root="HKLM" Key="Software\Microsoft\Help\v1.0" Name="AppRoot" Type="raw"/>
     </Property>


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20120202194203-tu2y386e4by5db61.bundle
Thread
bzr commit into connector-net-6.3 branch (reggie.burnett:1137) Reggie Burnett3 Feb