wix/mysql_odbc_fragment.xml (65 lines of code) (raw):
<?xml version="1.0" encoding="utf-8" ?>
<!-- *****************************************************************************************
Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0, as
published by the Free Software Foundation.
This program is also distributed with certain software (including
but not limited to OpenSSL) that is licensed under separate terms,
as designated in a particular file or component or in included license
documentation. The authors of MySQL hereby grant you an
additional permission to link the program and your derivative works
with the separately licensed software that they have included with
MySQL.
Without limiting anything contained in the foregoing, this file,
which is part of MySQL Connector/ODBC, is also subject to the
Universal FOSS Exception, version 1.0, a copy of which can be found at
http://oss.oracle.com/licenses/universal-foss-exception.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License, version 2.0, for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<!-- *****************************************************************************************
Icons
-->
<?include myodbc_version.xml ?>
<!-- *****************************************************************************************
Directories / Files
-->
<Directory Id="TARGETDIR" Name="SourceDir">
<?if $(var.odbc_64bit) = 1 ?>
<Directory Id="ProgramFiles64Folder">
<?else ?>
<Directory Id="ProgramFilesFolder">
<?endif?>
<Directory Id="Connector_ODBC" Name="AWS ODBC Driver for MySQL">
<Directory Id="INSTALLDIR" Name=".">
<?if $(var.odbc_64bit) = 1 ?>
<Component Id="driver" Guid="a2c91917-2d05-45d1-a5dd-4bbea3036133" SharedDllRefCount="yes" Win64="yes">
<File Id="awsmysqlodbca.dll" Name="awsmysqlodbca.dll" Checksum="yes" KeyPath="yes" DiskId="1" Source="x64\awsmysqlodbca.dll"/>
<File Id="awsmysqlodbcw.dll" Name="awsmysqlodbcw.dll" Checksum="yes" DiskId="1" Source="x64\awsmysqlodbcw.dll"/>
<File Id="readme" Name="README.md" DiskId="1" Source="doc\README.md"/>
<File Id="changelog" Name="CHANGELOG.md" DiskId="1" Source="doc\CHANGELOG.md"/>
<File Id="license" Name="LICENSE.txt" DiskId="1" Source="doc\LICENSE.txt" />
<File Id="info_bin" Name="INFO_BIN" DiskId="1" Source="doc\INFO_BIN" />
<File Id="info_src" Name="INFO_SRC" DiskId="1" Source="doc\INFO_SRC" />
</Component>
<Component Id="setup" Guid="e706b738-01f6-4a7c-bf4a-eb4599a4abb4" SharedDllRefCount="yes" Win64="yes">
<File Id="awsmysqlodbcS.dll" Name="awsmysqlodbcS.dll" KeyPath="yes" DiskId="1" Source="x64\awsmysqlodbcS.dll" />
</Component>
<Component Id="installer" Guid="4d743672-e573-45e2-8002-8d32866a5ae2" SharedDllRefCount="yes" Win64="yes">
<File Id="installer" Name="myodbc-installer.exe" KeyPath="yes" DiskId="1" Source="x64\myodbc-installer.exe" />
</Component>
<Component Id="ssl" Guid="64730b5a-73bb-4888-9ac1-5ef99a8f8ff4" SharedDllRefCount="yes" Win64="yes">
<File Id="libcrypto_3_x64.dll" Name="libcrypto-3-x64.dll" KeyPath="yes" DiskId="1" Source="x64\libcrypto-3-x64.dll" />
<File Id="libssl_3_x64.dll" Name="libssl-3-x64.dll" DiskId="1" Source="x64\libssl-3-x64.dll" />
</Component>
<?else ?>
<Component Id="driver" Guid="2d5f8fc4-4cc3-46b7-9221-f28a5f930ebf" SharedDllRefCount="yes">
<File Id="awsmysqlodbca.dll" Name="awsmysqlodbca.dll" Checksum="yes" KeyPath="yes" DiskId="1" Source="x86\awsmysqlodbca.dll"/>
<File Id="awsmysqlodbcw.dll" Name="awsmysqlodbcw.dll" Checksum="yes" DiskId="1" Source="x86\awsmysqlodbcw.dll"/>
<File Id="readme" Name="README.md" DiskId="1" Source="doc\README.md"/>
<File Id="changelog" Name="CHANGELOG.md" DiskId="1" Source="doc\CHANGELOG.md"/>
<File Id="license" Name="LICENSE.txt" DiskId="1" Source="doc\LICENSE.txt" />
<File Id="info_bin" Name="INFO_BIN" DiskId="1" Source="doc\INFO_BIN" />
<File Id="info_src" Name="INFO_SRC" DiskId="1" Source="doc\INFO_SRC" />
</Component>
<Component Id="setup" Guid="80e53cdf-b4fc-4911-a9c2-17853a6c83a8" SharedDllRefCount="yes">
<File Id="awsmysqlodbcS.dll" Name="awsmysqlodbcS.dll" KeyPath="yes" DiskId="1" Source="x86\awsmysqlodbcS.dll" />
</Component>
<Component Id="installer" Guid="dcf4dd91-f481-4333-a276-a0a11cce51ca" SharedDllRefCount="yes">
<File Id="installer" Name="myodbc-installer.exe" KeyPath="yes" DiskId="1" Source="x86\myodbc-installer.exe" />
</Component>
<Component Id="ssl" Guid="d2987689-3f6f-4a7e-bbd9-3a95e256546b" SharedDllRefCount="yes">
<File Id="libcrypto_3.dll" Name="libcrypto-3.dll" KeyPath="yes" DiskId="1" Source="x86\libcrypto-3.dll" />
<File Id="libssl_3.dll" Name="libssl-3.dll" DiskId="1" Source="x86\libssl-3.dll" />
</Component>
<?endif ?>
<?include mysql_odbc_dependencies.xml ?>
<Directory Id="Plugindir" Name="plugin"><?include mysql_odbc_plugins.xml ?></Directory>
</Directory> <!--INSTALLDIR-->
</Directory>
<!-- needed to make candle happy -->
<?if $(var.odbc_64bit) = 1 ?>
</Directory>
<?else ?>
</Directory>
<?endif ?>
</Directory>
</Fragment>
</Wix>