List:Commits« Previous MessageNext Message »
From:Iggy Galarza Date:July 1 2011 6:25pm
Subject:bzr commit into wex-installer-1.0 branch (iggy:539)
View as plain text  
#At file:///C:/src/bzr.mysql/wex/installer/ based on revid:iggy@stripped

  539 Iggy Galarza	2011-07-01
      - Added LaunchCondition to MSI to prevent installation unless the OS is >= Windows XP SP3.

    modified:
      Setup/Product.wxs
=== modified file 'Setup/Product.wxs'
--- a/Setup/Product.wxs	2011-06-24 14:46:06 +0000
+++ b/Setup/Product.wxs	2011-07-01 18:25:39 +0000
@@ -61,6 +61,10 @@
       <![CDATA[Installed OR NETFRAMEWORK35 OR NETFRAMEWORK35_CLIENT]]>
     </Condition>
 
+    <Condition Message="This application requires Windows XP Service Pack 3 or later.">
+      (VersionNT > 501) OR ((VersionNT = 501) AND (ServicePackLevel >= 3))
+    </Condition>
+
     <Binary Id="MySQLCA" SourceFile="$(var.SolutionDir)common\MySQLCA.CA.dll"/>
 
     <CustomAction Id="DeleteFiles" BinaryKey="MySQLCA" DllEntry="DeleteFiles" Execute="deferred" Impersonate="no" Return="ignore"/>


Attachment: [text/bzr-bundle] bzr/iggy@mysql.com-20110701182539-fphsfc25jg5srwy4.bundle
Thread
bzr commit into wex-installer-1.0 branch (iggy:539) Iggy Galarza4 Jul