1
<?xml version="1.0" encoding="utf-8"?>
2
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3
<?ifdef var.Platform ?>
4
<?define PKGNAME = "psqlODBC_$(var.Platform)" ?>
5
<?define MERGEM = "$(var.Platform)\psqlodbc_$(var.Platform).msm" ?>
6
<?if $(var.Platform) = x64 ?>
7
<?define BIT64 = "yes" ?>
8
<?define PGFOLDER = "ProgramFiles64Folder" ?>
9
<?define PRODID = "3E42F836-9204-4c42-B3C3-8680A0434875" ?>
10
<?define CIDREG = "4D361F28-8F75-4c86-9A37-6C279967413D" ?>
11
<?define CIDDOC = "0C745A85-4E55-4bab-BBF1-DCF51D92FCC5" ?>
12
<?define CIDSMD = "{E6410EE8-96DC-4d84-8D07-94F8093BF3EF}" ?>
13
<?define UPGCOD = "BBD29DF5-89F6-4b8b-BDC9-C3EA3A4AFDBB" ?>
15
<?define BIT64 = "no" ?>
16
<?define PGFOLDER = "ProgramFilesFolder" ?>
17
<?define PRODID = "838E187D-8B7A-473d-B93C-C8E970B15D2D" ?>
18
<?define CIDREG = "4F0C04EB-ADCB-4fa8-B6A3-E9F74EA693FA" ?>
19
<?define CIDDOC = "89DDBC52-9F0D-4846-91DC-09EECC87E430" ?>
20
<?define CIDSMD = "{22288E09-B3B6-4181-907F-676099C20127}" ?>
21
<?define UPGCOD = "24BCA538-75A2-4a7f-B236-C99EFC2145E0" ?>
24
<?define Platform = "x86" ?>
25
<?define PKGNAME = "psqlODBC" ?>
26
<?define MERGEM = "psqlodbc.msm" ?>
27
<?define BIT64 = "no" ?>
28
<?define PGFOLDER = "ProgramFilesFolder" ?>
29
<?define PRODID = "838E187D-8B7A-473d-B93C-C8E970B15D2B" ?>
30
<?define CIDREG = "4F0C04EB-ADCB-4fa8-B6A3-E9F74EA693F8" ?>
31
<?define CIDDOC = "89DDBC52-9F0D-4846-91DC-09EECC87E42E" ?>
32
<?define CIDSMD = "{22288E09-B3B6-4181-907F-676099C20125}" ?>
33
<?define UPGCOD = "24BCA538-75A2-4a7f-B236-C99EFC2145DE" ?>
36
<!-- Product details -->
39
Manufacturer="PostgreSQL Global Development Group"
41
UpgradeCode="$(var.UPGCOD)"
43
Version="$(var.VERSION)"
46
<!-- Package details -->
49
Keywords="PostgreSQL, ODBC"
50
Comments="PostgreSQL ODBC Driver"
51
Manufacturer="PostgreSQL Global Development Group"
52
InstallerVersion="300"
53
Platform="$(var.Platform)"
56
SummaryCodepage="1252" />
60
<Directory Id="TARGETDIR" Name="SourceDir">
61
<Directory Id="$(var.PGFOLDER)" Name="PFiles">
62
<Directory Id="BASEDIR" Name="psqlODBC">
63
<Directory Id="SUBLOC" Name="$(var.SUBLOC)">
64
<Directory Id="BINDIR" Name="bin">
65
<Component Id="registration" Guid="$(var.CIDREG)" Win64="$(var.BIT64)">
66
<RegistryValue KeyPath="yes" Type="string" Root="HKLM" Key="Software\$(var.PKGNAME)" Name="Version" Value="$(var.VERSION)" />
68
<Merge Id="psqlodbcm" DiskId="1" Language="1033" SourceFile="$(var.MERGEM)" />
70
<Directory Id="DOCSDIR" Name="docs">
71
<Component Id="docs" Guid="$(var.CIDDOC)" Win64="$(var.BIT64)">
72
<File Id="docs.index.html" Name="index.html" DiskId="1" Source="../docs/index.html" KeyPath="yes" />
73
<File Id="docs.config.html" Name="config.html" DiskId="1" Source="../docs/config.html" />
74
<File Id="docs.faq.html" Name="faq.html" DiskId="1" Source="../docs/faq.html" />
75
<File Id="docs.howto_accesslo.html" Name="howto-accesslo.html" DiskId="1" Source="../docs/howto-accesslo.html" />
76
<File Id="docs.howto_accessvba.html" Name="howto-accessvba.html" DiskId="1" Source="../docs/howto-accessvba.html" />
77
<File Id="docs.howto_bo.html" Name="howto-bo.html" DiskId="1" Source="../docs/howto-bo.html" />
78
<File Id="docs.howto_ch.html" Name="howto-ch.html" DiskId="1" Source="../docs/howto-ch.html" />
79
<File Id="docs.howto_csharp.html" Name="howto-csharp.html" DiskId="1" Source="../docs/howto-csharp.html" />
80
<File Id="docs.howto_vb.html" Name="howto-vb.html" DiskId="1" Source="../docs/howto-vb.html" />
81
<File Id="docs.howto_vblo.html" Name="howto-vblo.html" DiskId="1" Source="../docs/howto-vblo.html" />
82
<File Id="docs.release.html" Name="release.html" DiskId="1" Source="../docs/release.html" />
83
<File Id="docs.unix_compilation.html" Name="unix-compilation.html" DiskId="1" Source="../docs/unix-compilation.html" />
84
<File Id="docs.win32_compilation.html" Name="win32-compilation.html" DiskId="1" Source="../docs/win32-compilation.html" />
86
<Shortcut Id="docs.index.html" Directory="SMDir" Name="Documentation index" Description="psqlODBC documentation, HOWTOs and FAQs" Advertise="yes" Show="normal" />
92
<Directory Id="ProgramMenuFolder" Name="." SourceName="Programs">
93
<Directory Id="SMDir" Name="$(var.PKGNAME)">
94
<Component Id="smdir" Guid="$(var.CIDSMD)" Win64="$(var.BIT64)">
95
<RegistryValue KeyPath="yes" Type="string" Root="HKCU" Key="Software\$(var.PKGNAME)\SMDir Created" Value="y" />
96
<RemoveFolder Id="SMDir" On="uninstall" />
104
<Feature Id="psqlodbc" Title="$(var.PKGNAME)" Level="1" Description="psqlODBC - The PostgreSQL ODBC Driver" ConfigurableDirectory="BASEDIR" Display="expand">
105
<Feature Id="binaries" Title="ODBC Driver" Level="1" Description="The ODBC driver and supporting libraries.">
106
<ComponentRef Id="registration" />
107
<MergeRef Id="psqlodbcm" />
110
<Feature Id="docs" Title="Documentation" Level="4" Description="Documentation, FAQs and HOWTOs.">
111
<ComponentRef Id="smdir" />
112
<ComponentRef Id="docs" />
116
<Media Id="1" EmbedCab="yes" Cabinet="psqlodbc.cab"/>
120
<Property Id="ALLUSERS">2</Property>
121
<Property Id="WIXUI_INSTALLDIR" Value="BASEDIR" />
125
<UIRef Id="WixUI_FeatureTree" />
126
<WixVariable Id="WixUILicenseRtf" Value="lgpl.rtf" />
127
<WixVariable Id="WixUIDialogBmp" Value="background.bmp" />
128
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" />