xca/misc/dynamic.wxs.in
Christian Hohnstaedt 0c5f48898d Consolidate SQL Driver delivery
Only deliver the QT SQL plugins and document the installation
of the client libraries.
2023-09-17 08:57:27 +02:00

53 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLDIR">
<Component Id="Clibcrypto11x64" Guid="44133d17-96b5-4aee-8a24-9c722482add5">
<File Id="libcrypto11x64.dll" Source="@OPENSSL_ROOT_DIR@/bin/libcrypto-@OPENSSL_LIBRARY_MAJOR@-x64.dll" KeyPath="yes"/>
</Component>
<Component Id="Cvcruntime140" Guid="f0b03b2a-14f7-4631-bfe3-d4c6c9b57e1d">
<File Id="vcruntime140.dll" Source="@SYSTEM32@/vcruntime140.dll" KeyPath="yes"/>
</Component>
<!-- aqt install-tool windows desktop tools_vcredist qt.tools.vcredist_msvc2019_x64
Copy C:\Windows\System32\vcruntime140.dll C:\Windows\WOW64\
The WIX system uses that one and it crashes on the target.
-->
<Component Id="CQtCore" Guid="561efd92-0fc8-4e2d-abe8-6ba16fc8bacd">
<File Id="QtCore.dll" Source="@QT@Core.dll" KeyPath="yes"/>
</Component>
<Component Id="CQtGui" Guid="2f680a70-2b2b-4b6e-9119-f53c8b5e1fe4">
<File Id="QtGui.dll" Source="@QT@Gui.dll" KeyPath="yes"/>
</Component>
<Component Id="CQtSql" Guid="df605486-2591-4232-8799-25ad2271e3d4">
<File Id="QtSql.dll" Source="@QT@Sql.dll" KeyPath="yes"/>
</Component>
<Component Id="CQtWidgets" Guid="eff9bc63-dc01-4f44-ab1f-8447a773817b">
<File Id="QtWidgets.dll" Source="@QT@Widgets.dll" KeyPath="yes"/>
</Component>
<Component Id="CQtHelp" Guid="83c15eef-0d1a-43a4-a0f7-1b90d0788705">
<File Id="QtHelp.dll" Source="@QT@Help.dll" KeyPath="yes"/>
</Component>
</DirectoryRef>
<FeatureGroup Id="DatabaseGroup">
<Feature Id="Databases" Title="Database Drivers"
Description="All remote database drivers. The file based SQLite driver will be always installed." Level="1">
<Feature Id="SqlOdbc" Title="ODBC SQL Driver" Level="1"
Description="Access to ODBC databases like Microsoft SQL Server">
<ComponentRef Id="Cqsqlodbc" />
</Feature>
<Feature Id="SqlPostgres" Title="PostgreSQL Driver" Level="1"
Description="Native support for PostgreSQL databases. Contains 3rd party DLLs">
<ComponentRef Id="Cqsqlpsql" />
</Feature>
</Feature>
</FeatureGroup>
<DirectoryRef Id="sqldrivers">
<Component Id="Cqsqlpsql" Guid="526161ae-1023-411e-b7a1-747c93923b31">
<File Id="qsqlpsql.dll" Source="sqldrivers/qsqlpsql.dll"/>
</Component>
</DirectoryRef>
</Fragment>
</Wix>