File: mysql_odbc_fragment.xml

package info (click to toggle)
myodbc 5.1.6-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,096 kB
  • ctags: 2,202
  • sloc: ansic: 31,914; sh: 10,400; cpp: 3,472; xml: 1,328; makefile: 389; perl: 43
file content (105 lines) | stat: -rw-r--r-- 5,965 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="utf-8" ?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Fragment>
 
    <!-- *****************************************************************************************
      Icons
    -->
    <?include myodbc_version.xml ?>

    <Icon Id="MySQLConnector.ico" SourceFile="$(var.odbc_resource)/MySQLConnector.ico" />

  
    <!-- *****************************************************************************************
      Directories / Files
    -->

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="MySQL32" Name="MySQL">
          <Directory Id="Connector_ODBC_32" Name="Connector ODBC 5.1">
            <Component Id="lib_32" Guid="FED572C6-4778-4C54-A713-8D67D4758043" SharedDllRefCount="yes">
              <File Id="myodbc.lib32" Name="myodbc5.lib" KeyPath="yes" DiskId="1" Source="x86\myodbc5.lib"/>
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="myodbc.lib32.pdb" Name="myodbc5.pdb" DiskId="1" Source="x86\myodbc5.pdb"/>
              <?endif?>
            </Component>
            <Component Id="driver_32" Guid="83B6877B-3220-4C5F-A1B5-84787E9798DD" SharedDllRefCount="yes">
              <File Id="myodbc.dll" Name="myodbc5.dll" Checksum="yes" KeyPath="yes" DiskId="1" Source="x86\myodbc5.dll">
	        <ODBCDriver Id="MySQL_ODBC_5.1_Driver_32" Name="MySQL ODBC 5.1 Driver" SetupFile="myodbc5S.dll32" />
              </File>
              <?if $(var.license) = "commercial"?>
                <File Id="license32" Name="MYODBC5-LICENSE.TXT" DiskId="1" Source="doc\MYODBC5-LICENSE.TXT"/>
              <?else?>
                <File Id="license32" Name="MYODBC5-LICENSE.TXT" DiskId="1" Source="doc\MYODBC5-LICENSE.TXT"/>
                <File Id="exceptions32" Name="MYODBC5-EXCEPTIONS.TXT" DiskId="1" Source="doc\MYODBC5-EXCEPTIONS.TXT" />
              <?endif?>
            </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"/>
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="myodbc5S.lib32.pdb" Name="myodbc5S.pdb" DiskId="1" Source="x86\myodbc5S.pdb"/>
              <?endif?>
            </Component>
            <Component Id="installer_32" Guid="75754F93-A6F5-4575-A6AA-C64CA053386F" SharedDllRefCount="yes">
              <File Id="installer_32" Name="myodbc-installer.exe" KeyPath="yes" DiskId="1" Source="x86\myodbc-installer.exe" />
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="installer_32.pdb" Name="myodbc-installer.pdb" DiskId="1" Source="x86\myodbc-installer.pdb" />
              <?endif?>
            </Component>
          </Directory>
        </Directory>
      </Directory>

      <?if $(var.odbc_64bit) = 1 ?>
      <Directory Id="ProgramFiles64Folder">
        <Directory Id="MySQL64" Name="MySQL">
          <Directory Id="Connector_ODBC_64" Name="Connector ODBC 5.1">
            <Component Id="lib_64" Guid="22F054AC-F3F1-47E6-A03E-46423C467C79" SharedDllRefCount="yes" Win64="yes">
              <File Id="myodbc.lib64" Name="myodbc5.lib" KeyPath="yes" DiskId="1" Source="x64\myodbc5.lib" />
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="myodbc.lib64.pdb" Name="myodbc5.pdb" DiskId="1" Source="x64\myodbc5.pdb" />
              <?endif?>
            </Component>
            <Component Id="driver_64" Guid="C1960400-BFC6-4E6E-AF30-4C19EF5A3F07" SharedDllRefCount="yes" Win64="yes">
              <File Id="myodbc5.dll" Name="myodbc5.dll" Checksum="yes" KeyPath="yes" DiskId="1" Source="x64\myodbc5.dll">
                <ODBCDriver Id="MySQL_ODBC_5.1_Driver_64" Name="MySQL ODBC 5.1 Driver" SetupFile="myodbc5S.dll64" />
              </File>
              <?if $(var.license) = "commercial"?>
                <File Id="license64" Name="MYODBC5-LICENSE.TXT" DiskId="1" Source="doc\MYODBC5-LICENSE.TXT" />
              <?else?>
                <File Id="license64" Name="MYODBC5-LICENSE.TXT" DiskId="1" Source="doc\MYODBC5-LICENSE.TXT" />
		<File Id="exceptions64" Name="MYODBC5-EXCEPTIONS.TXT" DiskId="1" Source="doc\MYODBC5-EXCEPTIONS.TXT" />
              <?endif?>
            </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"/>
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="myodbc5S.lib64.pdb" Name="myodbc5S.pdb" DiskId="1" Source="x64\myodbc5S.pdb"/>
              <?endif?>
            </Component>
	    <Component Id="installer_64" Guid="EB5E7FB3-F6DD-4424-A54A-DD07213E67ED" SharedDllRefCount="yes" Win64="yes">
              <File Id="installer_64" Name="myodbc-installer.exe" KeyPath="yes" DiskId="1" Source="x64\myodbc-installer.exe" />
              <?if $(var.odbc_pdb) = 1 ?>
                <File Id="installer_64.pdb" Name="myodbc-installer.pdb" DiskId="1" Source="x64\myodbc-installer.pdb" />
              <?endif?>
            </Component>
          </Directory>
        </Directory>
      </Directory>
      <?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>