1
<?xml version='1.0' encoding='windows-1252'?>
2
<!-- BEGIN COPYRIGHT BLOCK
3
This Program is free software; you can redistribute it and/or modify it under
4
the terms of the GNU General Public License as published by the Free Software
5
Foundation; version 2 of the License.
7
This Program is distributed in the hope that it will be useful, but WITHOUT
8
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
You should have received a copy of the GNU General Public License along with
12
this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
13
Place, Suite 330, Boston, MA 02111-1307 USA.
15
In addition, as a special exception, Red Hat, Inc. gives You the additional
16
right to link the code of this Program with code not covered under the GNU
17
General Public License ("Non-GPL Code") and to distribute linked combinations
18
including the two, subject to the limitations in this paragraph. Non-GPL Code
19
permitted under this exception must only link to the code of this Program
20
through those well defined interfaces identified in the file named EXCEPTION
21
found in the source code files (the "Approved Interfaces"). The files of
22
Non-GPL Code may instantiate templates or use macros or inline functions from
23
the Approved Interfaces without causing the resulting work to be covered by
24
the GNU General Public License. Only Red Hat, Inc. may make changes or
25
additions to the list of Approved Interfaces. You must obey the GNU General
26
Public License in all respects for all of the Program code and other code used
27
in conjunction with the Program except the Non-GPL Code covered by this
28
exception. If you modify this file, you may extend this exception to your
29
version of the file, but you are not obligated to do so. If you do not wish to
30
provide this exception without modification, you must delete this exception
31
statement from your version and license this file solely under the GPL without
35
Copyright (C) 2007 Red Hat, Inc.
37
END COPYRIGHT BLOCK -->
38
<?if $(var.USE64)=1 ?>
39
<?define Property_PFilesFolder = "ProgramFiles64Folder" ?>
40
<?define Property_Win64 = "yes" ?>
41
<?define Property_Platform = "x64" ?>
43
<?define Property_PFilesFolder = "ProgramFilesFolder" ?>
44
<?define Property_Win64 = "no" ?>
45
<?define Property_Platform = "Intel" ?>
47
<?define EMPTY = "" ?>
49
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
50
<Product Name='$(var.PRODUCTNAME)' Id='$(var.PKGGUID)'
51
Language='1033' Codepage='1252' UpgradeCode='$(var.UPGRADEGUID)'
52
Version='$(var.VERSION)' Manufacturer='$(var.VENDOR)'>
54
<Package Id='????????-????-????-????-????????????' Keywords='Installer'
55
Description="$(var.PRODUCTNAME) Installer"
56
Manufacturer='$(var.VENDOR)' Platforms='$(var.Property_Platform)'
57
InstallerVersion='200' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
59
<!-- previous versions of this package were installed using the per-user context -->
60
<!-- explicitly set this and future packages to be per-machine (All Users) -->
61
<Property Id='ALLUSERS' Value="1" />
63
<Upgrade Id='$(var.UPGRADEGUID)'>
64
<UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
65
Minimum='$(var.VERSION)' IncludeMinimum='no' />
68
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
69
<Property Id='DiskPrompt' Value="Console Installation [1]" />
71
<?if $(var.OLDGUID) AND ($(var.OLDGUID) != $(var.EMPTY)) ?>
72
<Property Id='OLDGUID' Value="{$(var.OLDGUID)}" />
74
<?if $(var.OLDSHORTCUT) AND ($(var.OLDSHORTCUT) != $(var.EMPTY)) ?>
75
<Property Id='OLDSHORTCUT' Value="$(var.OLDSHORTCUT)" />
77
<?if $(var.OLDPROGRAMFOLDER) AND ($(var.OLDPROGRAMFOLDER) != $(var.EMPTY)) ?>
78
<Property Id='OLDPROGRAMFOLDER' Value="$(var.OLDPROGRAMFOLDER)" />
81
<Property Id='MSIEXEC' Value="msiexec.exe" />
83
<CustomAction Id='AlreadyUpdated' Error='[ProductName] [ProductVersion] is already installed.' />
84
<CustomAction Id='NoDowngrade' Error='A later version of [ProductName] is already installed.' />
85
<CustomAction Id='RemoveOldPkg' Property='MSIEXEC' ExeCommand='/x [OLDGUID] /qn' Return='asyncNoWait' />
86
<CustomAction Id='RemoveOldShortcuts' Script='vbscript'>
89
set rec = Session.installer.CreateRecord(1)
91
rec.StringData(1) = "RemoveOldShortcuts: Begin"
92
Session.Message msgtype, rec
94
Set fso = CreateObject("Scripting.FileSystemObject")
95
oldsc = Session.Property("OLDSHORTCUT")
96
rec.StringData(1) = "RemoveOldShortcuts: old shortcut is " & oldsc
97
Session.Message msgtype, rec
98
oldfldr = Session.Property("OLDPROGRAMFOLDER")
99
rec.StringData(1) = "RemoveOldShortcuts: old program folder is " & oldfldr
100
Session.Message msgtype, rec
101
dskfldr = Session.Property("DesktopFolder")
102
rec.StringData(1) = "RemoveOldShortcuts: DesktopFolder is " & dskfldr
103
Session.Message msgtype, rec
104
For Each userfldr in fso.GetFolder(dskfldr).ParentFolder.ParentFolder.SubFolders
106
' look for Desktop\oldshortcut and remove
107
If userfldr.name <> "All Users" Then
108
fullpath = userfldr.path & "\Desktop\" & oldsc
109
If fso.FileExists(fullpath) Then
110
rec.StringData(1) = "RemoveOldShortcuts: Removing old shortcut " & fullpath
111
Session.Message msgtype, rec
112
fso.DeleteFile(fullpath)
114
rec.StringData(1) = "RemoveOldShortcuts: ignoring missing old shortcut " & fullpath
115
Session.Message msgtype, rec
117
' look for Start Menu\Programs\oldfldr and remove
118
fullpath = userfldr.path & "\Start Menu\Programs\" & oldfldr
119
If fso.FolderExists(fullpath) Then
120
rec.StringData(1) = "RemoveOldShortcuts: Removing old program folder " & fullpath
121
Session.Message msgtype, rec
122
fso.DeleteFolder(fullpath)
124
rec.StringData(1) = "RemoveOldShortcuts: ignoring missing old program folder " & fullpath
125
Session.Message msgtype, rec
128
rec.StringData(1) = "RemoveOldShortcuts: skipping folder " & userfldr.name
129
Session.Message msgtype, rec
130
End If ' not All Users
132
rec.StringData(1) = "RemoveOldShortcuts: End"
133
Session.Message msgtype, rec
137
<Directory Id='TARGETDIR' Name='SourceDir'>
138
<!-- the VC runtime redist package -->
139
<Merge Id='CRT' Language='0' src='$(var.CRTMSM)' DiskId='1'/>
140
<Merge Id='PolicyCRT' Language='0' src='$(var.POLICYCRTMSM)' DiskId='1'/>
142
<Directory Id='$(var.Property_PFilesFolder)' Name='PFiles'>
144
<Directory Id='INSTALLDIR' Name='CONFLDR' LongName='$(var.PRODUCTNAME)'>
146
<Component Id='NSPRLibrary' Guid='DE133754-3C99-49e7-8A71-0375AB348CDD' Win64='$(var.Property_Win64)'>
147
<File Id='NSPR' LongName='libnspr4.dll' Name='libnspr4.dll' DiskId='1' src='libnspr4.dll' Vital='yes' />
150
<Component Id='NSPRpldsLibrary' Guid='7DCDBD30-DC5B-4c89-BD94-EE55E1D9D082' Win64='$(var.Property_Win64)'>
151
<File Id='NSPRPLDS' LongName='libplds4.dll' Name='libplds4.dll' DiskId='1' src='libplds4.dll' Vital='yes' />
154
<Component Id='NSPRplcLibrary' Guid='4E707871-BA8E-41e2-982E-E3E79E85A599' Win64='$(var.Property_Win64)'>
155
<File Id='NSPRPLC' LongName='libplc4.dll' Name='libplc4.dll' DiskId='1' src='libplc4.dll' Vital='yes' />
158
<Component Id='NSSLibrary' Guid='3196F339-901E-42c4-AAD3-704775DCF5F4' Win64='$(var.Property_Win64)'>
159
<File Id='NSS' LongName='nss3.dll' Name='nss3.dll' DiskId='1' src='nss3.dll' Vital='yes' />
162
<Component Id='NSSsslLibrary' Guid='004E7F81-77E8-4681-810B-E97EC9BE49F2' Win64='$(var.Property_Win64)'>
163
<File Id='NSSSSL' LongName='ssl3.dll' Name='ssl3.dll' DiskId='1' src='ssl3.dll' Vital='yes' />
166
<Component Id='NSSsoftoknLibrary' Guid='B20D5FB4-B985-4c44-B4AA-8657C74B8061' Win64='$(var.Property_Win64)'>
167
<File Id='NSSSOFTTOKN' LongName='softokn3.dll' Name='softokn3.dll' DiskId='1' src='softokn3.dll' Vital='yes' />
170
<Component Id='NSSsmimeLibrary' Guid='84BD3153-5E80-4556-9B6C-C67B13B3BEA9' Win64='$(var.Property_Win64)'>
171
<File Id='NSSSMIME' LongName='smime3.dll' Name='smime3.dll' DiskId='1' src='smime3.dll' Vital='yes' />
174
<Component Id='NSSfreeblLibrary' Guid='69D9F77F-27EA-4820-B931-07538AFC75FD' Win64='$(var.Property_Win64)'>
175
<File Id='NSSFREEBL' LongName='freebl3.dll' Name='freebl3.dll' DiskId='1' src='freebl3.dll' Vital='yes' />
178
<Component Id='NSSutilLibrary' Guid='FCFD9F8C-E567-46eb-90C3-A9322E862A2C' Win64='$(var.Property_Win64)'>
179
<File Id='NSSUTIL' LongName='nssutil3.dll' Name='nssutil3.dll' DiskId='1' src='nssutil3.dll' Vital='yes' />
182
<Component Id='NSSsqliteLibrary' Guid='4A8645BA-7A78-44f5-8073-7F2BE8C13622' Win64='$(var.Property_Win64)'>
183
<File Id='NSSSQLITE' LongName='sqlite3.dll' Name='sqlite3.dll' DiskId='1' src='sqlite3.dll' Vital='yes' />
186
<Component Id='NSSdbmLibrary' Guid='7BDF98E8-D1D5-4b06-AB69-1688EE7A6872' Win64='$(var.Property_Win64)'>
187
<File Id='NSSDBM' LongName='nssdbm3.dll' Name='nssdbm3.dll' DiskId='1' src='nssdbm3.dll' Vital='yes' />
190
<Component Id='NSSrootcertsLibrary' Guid='B3350485-7CDD-4311-99F6-479DA1FA92A1' Win64='$(var.Property_Win64)'>
191
<File Id='NSSROOTCERTS' LongName='nssckbi.dll' Name='nssckbi.dll' DiskId='1' src='nssckbi.dll' Vital='yes' />
194
<Component Id='NSScertutil' Guid='7741A56D-3E96-4823-AC0F-0B81A696651F' Win64='$(var.Property_Win64)'>
195
<File Id='NSSCERTUTIL' LongName='certutil.exe' Name='certutil.exe' DiskId='1' src='certutil.exe' Vital='yes' />
198
<Component Id='NSSpk12util' Guid='F10ABF8A-8C10-49f6-8150-45616EA4C360' Win64='$(var.Property_Win64)'>
199
<File Id='NSSPK12UTIL' LongName='pk12util.exe' Name='pk12util.exe' DiskId='1' src='pk12util.exe' Vital='yes' />
202
<Component Id='JSSLibrary' Guid='844240DD-3EE8-444e-BA48-5C114648096B' Win64='$(var.Property_Win64)'>
203
<File Id='JSSLIB' LongName='jss4.dll' Name='jss4.dll' DiskId='1' src='jss4.dll' Vital='yes' />
206
<Component Id='JSSJar' Guid='064A960B-4D7E-45cc-895B-19DE1D9AEF77' Win64='$(var.Property_Win64)'>
207
<File Id='JSSJAR' LongName='jss4.jar' Name='jss4.jar' DiskId='1' src='jss4.jar' Vital='yes' />
210
<Component Id='LDAPJar' Guid='E6D5B3AE-11F5-427f-85D3-D7A6A6A0A55D' Win64='$(var.Property_Win64)'>
211
<File Id='LDAPJAR' LongName='ldapjdk.jar' Name='ldapjdk.jar' DiskId='1' src='ldapjdk.jar' Vital='yes' />
214
<Component Id='IDMBaseJar' Guid='F45C344F-A3C2-4ffd-9CC6-22D36AA5E69E' Win64='$(var.Property_Win64)'>
215
<File Id='IDMBASEJAR' LongName='idm-console-base.jar' Name='idmbase.jar' DiskId='1' src='idm-console-base.jar' Vital='yes' />
218
<Component Id='IDMMCCJar' Guid='1DB26BB6-56AF-4e7e-BD55-8F1364B7A55B' Win64='$(var.Property_Win64)'>
219
<File Id='IDMMCCJAR' LongName='idm-console-mcc.jar' Name='idmmcc.jar' DiskId='1' src='idm-console-mcc.jar' Vital='yes' />
222
<Component Id='IDMMCCENJar' Guid='71FF3A08-C895-4648-A8CC-08F0CD2AD4D6' Win64='$(var.Property_Win64)'>
223
<File Id='IDMMCCENJAR' LongName='idm-console-mcc_en.jar' Name='idmmccen.jar' DiskId='1' src='idm-console-mcc_en.jar' Vital='yes' />
226
<Component Id='IDMNMCLFJar' Guid='2F118B1B-3413-4740-A99A-1B22E79AB232' Win64='$(var.Property_Win64)'>
227
<File Id='IDMNMCLFJAR' LongName='idm-console-nmclf.jar' Name='idmnmclf.jar' DiskId='1' src='idm-console-nmclf.jar' Vital='yes' />
230
<Component Id='IDMNMCLFENJar' Guid='EB4F2170-BFDC-4c5f-8A12-9812CAADB740' Win64='$(var.Property_Win64)'>
231
<File Id='IDMNMCLFENJAR' LongName='idm-console-nmclf_en.jar' Name='idmnmcen.jar' DiskId='1' src='idm-console-nmclf_en.jar' Vital='yes' />
234
<Component Id='ConsoleJar' Guid='BE426443-1A07-406e-97FA-103D518BE233' Win64='$(var.Property_Win64)'>
235
<File Id='CONSOLEJAR' LongName='$(var.FILEPREF)-console_en.jar' Name='conen.jar' DiskId='1' src='$(var.FILEPREF)-console_en.jar' Vital='yes' />
238
<Component Id='ConsoleBat' Guid='00DEC033-5D77-49a2-9478-FA67E8D4EFEA' Win64='$(var.Property_Win64)'>
239
<File Id='CONSOLEBAT' LongName='$(var.FILEPREF)-console.bat' Name='con.bat' DiskId='1' src='$(var.FILEPREF)-console.bat' Vital='yes' >
240
<Shortcut Id="startmenuConsole" Directory="ProgramMenuDir" Name="CONFLDR"
241
LongName="$(var.SHORTCUT)" WorkingDirectory='INSTALLDIR' Show="minimized"
242
Icon="Logo$(var.BRANDNOSPACE).ico" IconIndex="0" Advertise="yes" />
243
<Shortcut Id="desktopConsole" Directory="DesktopFolder" Name="CONFLDR"
244
LongName="$(var.SHORTCUT)" WorkingDirectory='INSTALLDIR' Show="minimized"
245
Icon="Logo$(var.BRANDNOSPACE).ico" IconIndex="0" Advertise="yes" />
249
<Component Id='License.rtf' Guid='D40977B8-BB2B-4796-B855-3503AF5FF881' Win64='$(var.Property_Win64)'>
250
<File Id='LICENSERTF' LongName='License.rtf' Name='License.rtf' DiskId='1' src='License.rtf' Vital='yes' />
257
<Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
258
<Directory Id="ProgramMenuDir" Name='CONFLDR' LongName="$(var.PRODUCTNAME)" />
261
<Directory Id="DesktopFolder" Name="Desktop" />
265
<Feature Id='Complete' Title='$(var.PRODUCTNAME)' Description='The complete package.' Display='expand'
266
Level='1' ConfigurableDirectory='INSTALLDIR'>
267
<Feature Id='MainProgram' Title='Program' Description='The main executable.'
269
<ComponentRef Id='NSPRLibrary' />
270
<ComponentRef Id='NSPRpldsLibrary' />
271
<ComponentRef Id='NSPRplcLibrary' />
272
<ComponentRef Id='NSSLibrary' />
273
<ComponentRef Id='NSSsslLibrary' />
274
<ComponentRef Id='NSSsoftoknLibrary' />
275
<ComponentRef Id='NSSsmimeLibrary' />
276
<ComponentRef Id='NSSfreeblLibrary' />
277
<ComponentRef Id='NSSutilLibrary' />
278
<ComponentRef Id='NSSsqliteLibrary' />
279
<ComponentRef Id='NSSdbmLibrary' />
280
<ComponentRef Id='NSSrootcertsLibrary' />
281
<ComponentRef Id='NSScertutil' />
282
<ComponentRef Id='NSSpk12util' />
283
<ComponentRef Id='JSSLibrary' />
284
<ComponentRef Id='JSSJar' />
285
<ComponentRef Id='LDAPJar' />
286
<ComponentRef Id='IDMBaseJar' />
287
<ComponentRef Id='IDMMCCJar' />
288
<ComponentRef Id='IDMMCCENJar' />
289
<ComponentRef Id='IDMNMCLFJar' />
290
<ComponentRef Id='IDMNMCLFENJar' />
291
<ComponentRef Id='ConsoleJar' />
292
<ComponentRef Id='ConsoleBat' />
293
<ComponentRef Id='License.rtf' />
295
<Feature Id='CRT_WinSXS' Title='CRT WinSXS' AllowAdvertise="no" Display="hidden" Level='1'>
296
<MergeRef Id='CRT' />
297
<MergeRef Id='PolicyCRT' />
301
<Property Id="INSTALLLEVEL">3</Property>
303
<UIRef Id="WixUI_Mondo" />
304
<UIRef Id="WixUI_ErrorProgressText" />
306
<InstallExecuteSequence>
307
<Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom>
308
<RemoveExistingProducts After='InstallFinalize' />
309
<Custom Action='RemoveOldPkg' After='InstallFinalize'>OLDGUID AND NOT Installed</Custom>
310
<Custom Action='RemoveOldShortcuts' After='RemoveOldPkg'>OLDSHORTCUT AND OLDPROGRAMFOLDER AND NOT Installed</Custom>
311
</InstallExecuteSequence>
313
<Icon Id="Logo$(var.BRANDNOSPACE).ico" SourceFile="Logo$(var.BRANDNOSPACE).ico" />