From 805c244d92850e7690e75a8921004a4587f22662 Mon Sep 17 00:00:00 2001 From: Christian Ullrich Date: Sat, 12 Oct 2024 13:09:16 +0200 Subject: [PATCH] Increase WiX-5-ness - Remove most Component elements in favor of naked files - Replace PGFOLDER variable with ProgramFiles6432Folder The Condition element on Component has become an attribute in WiX 5, and the combination of preprocessor and component condition (i.e. include a non-x64 condition only in a non-x64 package) to install PGXA only from a package native to the underlying OS does not work anymore. Replace it with a pure component condition that includes the package architecture. The Template summary property has this information already, but it is not available from within the installation, and I'm not about to start writing custom actions. --- installer/psqlodbc_cpu.wxs | 79 +++++++++-------- installer/psqlodbcm_cpu.wxs | 165 ++++++++++-------------------------- 2 files changed, 86 insertions(+), 158 deletions(-) diff --git a/installer/psqlodbc_cpu.wxs b/installer/psqlodbc_cpu.wxs index 4fa54a8..60075cf 100644 --- a/installer/psqlodbc_cpu.wxs +++ b/installer/psqlodbc_cpu.wxs @@ -5,7 +5,6 @@ - @@ -14,7 +13,6 @@ - @@ -37,54 +35,54 @@ UpgradeCode="$(UPGCOD)" Name="$(PKGNAME)" Version="$(VERSION)" - Codepage="1252" - InstallerVersion="300" - Compressed="yes" + Codepage="1252" + InstallerVersion="300" + Compressed="yes" Language="1033"> + Comments="PostgreSQL ODBC Driver" /> - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + + + + + + + - + + + + + + + + + + @@ -104,14 +102,15 @@ - + + - + \ No newline at end of file diff --git a/installer/psqlodbcm_cpu.wxs b/installer/psqlodbcm_cpu.wxs index 4bc5d99..f2cd82e 100644 --- a/installer/psqlodbcm_cpu.wxs +++ b/installer/psqlodbcm_cpu.wxs @@ -37,9 +37,9 @@ - + + - - - - + - + - + - - - - - + + - - - - - - - - - + + + + - + - + - - - - - + + - - - - - - - + + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - - - - + 32bit machines. Install the XA DLL only from a native package. + --> + - - - + \ No newline at end of file