~ubuntu-branches/ubuntu/trusty/psqlodbc/trusty-proposed

« back to all changes in this revision

Viewing changes to installer/psqlodbc_cpu.wxs

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2011-04-05 14:48:23 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110405144823-n77supsa1hjj0ik6
Tags: 1:09.00.0200-1
* New upstream release.
* Fix installing {A,W}/usr/lib/odbc.  Closes: #618210.
* Convert to 3.0 (quilt).
* Remove psqlodbc-580878.diff: implemented upstream.
* Remove psqlodbc-585476.diff: was caused by #519006 which is now closed.
* Update description, suggested by Martin Eberhard Schauer.
  Closes: #565611.
* New maintainer.  Closes: #472818.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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" ?>
 
14
<?else?>
 
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" ?>
 
22
<?endif?>
 
23
<?else?>
 
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" ?>
 
34
<?endif?>
 
35
 
 
36
<!-- Product details -->
 
37
 
 
38
  <Product 
 
39
    Manufacturer="PostgreSQL Global Development Group" 
 
40
    Id="$(var.PRODID)"
 
41
    UpgradeCode="$(var.UPGCOD)"
 
42
    Name="$(var.PKGNAME)"
 
43
    Version="$(var.VERSION)" 
 
44
    Language="1033">
 
45
 
 
46
<!-- Package details -->
 
47
 
 
48
    <Package
 
49
      Keywords="PostgreSQL, ODBC"
 
50
      Comments="PostgreSQL ODBC Driver"
 
51
      Manufacturer="PostgreSQL Global Development Group" 
 
52
      InstallerVersion="300"
 
53
      Platform="$(var.Platform)" 
 
54
      Languages="1033" 
 
55
      Compressed="yes" 
 
56
      SummaryCodepage="1252" />
 
57
 
 
58
<!-- Directories -->
 
59
 
 
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)" />
 
67
              </Component>
 
68
              <Merge Id="psqlodbcm" DiskId="1" Language="1033" SourceFile="$(var.MERGEM)" />
 
69
            </Directory>
 
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" />
 
85
 
 
86
                <Shortcut Id="docs.index.html" Directory="SMDir" Name="Documentation index" Description="psqlODBC documentation, HOWTOs and FAQs" Advertise="yes" Show="normal" />
 
87
              </Component>
 
88
            </Directory>
 
89
          </Directory>
 
90
        </Directory>
 
91
      </Directory>
 
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" />
 
97
            </Component>
 
98
        </Directory>
 
99
      </Directory>
 
100
    </Directory>
 
101
 
 
102
<!-- Features -->
 
103
 
 
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" />
 
108
      </Feature>
 
109
 
 
110
      <Feature Id="docs" Title="Documentation" Level="4" Description="Documentation, FAQs and HOWTOs.">
 
111
        <ComponentRef Id="smdir" />
 
112
        <ComponentRef Id="docs" />
 
113
      </Feature>
 
114
 
 
115
    </Feature>
 
116
    <Media Id="1" EmbedCab="yes" Cabinet="psqlodbc.cab"/>
 
117
 
 
118
<!-- Properties -->
 
119
 
 
120
    <Property Id="ALLUSERS">2</Property>
 
121
    <Property Id="WIXUI_INSTALLDIR" Value="BASEDIR" />
 
122
 
 
123
<!-- UI -->
 
124
 
 
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" />
 
129
 
 
130
  </Product>
 
131
</Wix>