List:Commits« Previous MessageNext Message »
From:grichter Date:December 7 2007 12:53pm
Subject:Connector/ODBC 3.51 commit: r936 - in branches/guffert/wix: . cmake
View as plain text  
Modified:
   branches/guffert/wix/cmake/FindWix.cmake
   branches/guffert/wix/mysql_odbc.xml
   branches/guffert/wix/mysql_odbc_fragment.xml
Log:
Fix for documentation


Modified: branches/guffert/wix/cmake/FindWix.cmake
===================================================================
--- branches/guffert/wix/cmake/FindWix.cmake	2007-12-07 09:58:50 UTC (rev 935)
+++ branches/guffert/wix/cmake/FindWix.cmake	2007-12-07 12:53:13 UTC (rev 936)
@@ -23,7 +23,9 @@
 
 
 #-------------- FIND MYSQL_INCLUDE_DIR ------------------
-SET(WIX_DIR "$ENV{WIX_DIR}")
+IF(DEFINED $ENV{WIX_DIR})
+  SET(WIX_DIR "$ENV{WIX_DIR}")
+ENDIF(DEFINED $ENV{WIX_DIR})
 FIND_PATH(WIX_DIR candle.exe
 	$ENV{WIX_DIR}/bin
 	$ENV{ProgramFiles}/wix/bin

Modified: branches/guffert/wix/mysql_odbc.xml
===================================================================
--- branches/guffert/wix/mysql_odbc.xml	2007-12-07 09:58:50 UTC (rev 935)
+++ branches/guffert/wix/mysql_odbc.xml	2007-12-07 12:53:13 UTC (rev 936)
@@ -92,9 +92,6 @@
       <ComponentRef Id="driver_32" />
       <ComponentRef Id="setup_32" />
       <ComponentRef Id="installer_32" />
-      <Feature Id="Help32" Title="MySQL Connector/ODBC $(var.odbc_ver_long) Help"
Level="1" Description="Installs the MySQL ODBC driver help.">
-        <ComponentRef Id="help_32" />
-      </Feature>
     </Feature>
 
     <?if $(var.odbc_64bit) = 1 ?>
@@ -104,10 +101,11 @@
       <ComponentRef Id="driver_64" />
       <ComponentRef Id="setup_64" />
       <ComponentRef Id="installer_64" />
-      <Feature Id="Help64" Title="MySQL Connector/ODBC $(var.odbc_ver_long) Help"
Level="1" Description="Installs the MySQL ODBC driver help.">
-        <ComponentRef Id="help_64" />
-      </Feature>
     </Feature>
+
+    <Feature Id="Help" Title="MySQL Connector/ODBC $(var.odbc_ver_long) Documentation"
Level="1" Description="Installs the MySQL ODBC driver help.">
+        <ComponentRef Id="help" />
+    </Feature>
     <?endif ?>
     <!--
*****************************************************************************************
       End of Feature

Modified: branches/guffert/wix/mysql_odbc_fragment.xml
===================================================================
--- branches/guffert/wix/mysql_odbc_fragment.xml	2007-12-07 09:58:50 UTC (rev 935)
+++ branches/guffert/wix/mysql_odbc_fragment.xml	2007-12-07 12:53:13 UTC (rev 936)
@@ -33,9 +33,6 @@
 	      <File Id="exceptions32" Name="MYODBC5-EXCEPTIONS.TXT" DiskId="1"
Source="doc\MYODBC5-EXCEPTIONS.TXT" />
               <?endif?>
             </Component>
-            <Component Id="help_32" Guid="D29EE791-9763-4DBE-8EAE-67A60A98BEE7"
SharedDllRefCount="yes">
-              <File Id="myodbc5.hlp32" Name="connector-odbc.chm" KeyPath="yes"
DiskId="1" Source="doc\connector-odbc.chm"/>
-            </Component>
             <Component Id="setup_32" Guid="428232BA-9D94-4DB5-87CD-C939D1347664"
SharedDllRefCount="yes">
               <File Id="myodbc5S.dll32" Name="myodbc5S.dll" KeyPath="yes" DiskId="1"
Source="x86\myodbc5S.dll" />
               <File Id="myodbc5S.lib32" Name="myodbc5S.lib" DiskId="1"
Source="x86\myodbc5S.lib"/>
@@ -47,7 +44,7 @@
         </Directory>
       </Directory>
 
-    <?if $(var.odbc_64bit) = 1 ?>
+      <?if $(var.odbc_64bit) = 1 ?>
       <Directory Id="ProgramFiles64Folder">
         <Directory Id="MySQL64" Name="MySQL">
           <Directory Id="Connector_ODBC_64" Name="Connector ODBC 5.1">
@@ -65,9 +62,6 @@
 		  <File Id="exceptions64" Name="MYODBC5-EXCEPTIONS.TXT" DiskId="1"
Source="doc\MYODBC5-EXCEPTIONS.TXT" />
               <?endif?>
             </Component>
-            <Component Id="help_64" Guid="41D0A247-C698-4A5A-A3E7-CFF4E7537736"
SharedDllRefCount="yes" Win64="yes">
-              <File Id="myodbc5.hlp_64" Name="connector-odbc.chm" KeyPath="yes"
DiskId="1" Source="doc\connector-odbc.chm"/>
-            </Component>
             <Component Id="setup_64" Guid="3A92E95A-AF9C-4A4F-A36D-E0052405C278"
SharedDllRefCount="yes" Win64="yes">
               <File Id="myodbc5S.dll64" Name="myodbc5S.dll" KeyPath="yes" DiskId="1"
Source="x64\myodbc5S.dll" />
               <File Id="myodbc5S.lib64" Name="myodbc5S.lib" DiskId="1"
Source="x64\myodbc5S.lib"/>
@@ -78,7 +72,16 @@
           </Directory>
         </Directory>
       </Directory>
-    <?endif ?>
+      <?endif ?>
+
+      <Directory Id="WindowsFolder">
+        <Directory Id="Help" Name="Help">
+          <Component Id="help" Guid="D29EE791-9763-4DBE-8EAE-67A60A98BEE7"
SharedDllRefCount="yes">
+            <File Id="myodbc5_hlp" Name="myodbc.chm" KeyPath="yes" DiskId="1"
Source="doc\connector-odbc.chm"/>
+          </Component>
+        </Directory>
+      </Directory>
+
     </Directory>
   </Fragment>
 </Wix>

Thread
Connector/ODBC 3.51 commit: r936 - in branches/guffert/wix: . cmakegrichter7 Dec