-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cyberduck.wxs
463 lines (450 loc) · 25.2 KB
/
Cyberduck.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*" Name="Cyberduck" Language="1033" Version="!(bind.FileVersion.product.exe)" Manufacturer="iterate GmbH" UpgradeCode="B9C33495-4B77-4863-9A40-4E767388647E">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/>
<MajorUpgrade AllowDowngrades="yes" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="!(bind.property.ProductName)">
<Directory Id="PROFILES" Name="profiles"/>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="!(bind.property.ProductName)"/>
</Directory>
</Directory>
</Directory>
<Icon Id="icon.ico" SourceFile="cyberduck-application.ico"/>
<Icon Id="cd_document.ico" SourceFile="cyberduck-document.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Property Id="AUTOSTART" Value="0"/>
<ComponentGroup Id="ProductComponents" Directory="INSTALLLOCATION">
<Component Id="InstallLocationRegistrySearch">
<RegistryValue Root="HKLM" Key="Software\[Manufacturer]\[ProductName]" Name="InstallDir" Type="string" Value="[INSTALLLOCATION]" KeyPath="yes" />
</Component>
<Component Id="ProductExe">
<File Id="product.exe" Source="$(var.cyberduck.TargetPath)" KeyPath="yes" Checksum="yes" >
<netfx:NativeImage Id="ngen_product.exe" Platform="32bit" Priority="3" />
</File>
<!-- Capabilities keys for Vista/7 "Set Program Access and Defaults" -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities" Name="ApplicationDescription" Value="Libre FTP, SFTP, WebDAV, S3 and OpenStack Swift browser for Mac and Windows." Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities" Name="ApplicationIcon" Value="[INSTALLLOCATION]Cyberduck.exe,0" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities" Name="ApplicationName" Value="!(bind.property.ProductName)" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities\DefaultIcon" Value="[APPLICATIONFOLDER]Cyberduck.exe,1" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities\FileAssociations" Name=".duck" Value="Cyberduck.Bookmark" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities\FileAssociations" Name=".cyberduckprofile" Value="Cyberduck Connection.Profile" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities\FileAssociations" Name=".cyberducklicense" Value="Cyberduck.License" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Cyberduck\Capabilities\shell\Open\command" Value='"[INSTALLLOCATION]Cyberduck.exe" "%1"' Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\RegisteredApplications" Name="!(bind.property.ProductName)" Value="SOFTWARE\Cyberduck\Capabilities" Type="string" />
<!-- App Paths to support Start,Run -> "Cyberduck" -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Cyberduck.exe" Value="[!product.exe]" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Cyberduck.exe" Name="Path" Value="[APPLICATIONFOLDER]" Type="string" />
<!-- Extend to the "open with" list + Win7 jump menu pinning -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Applications\Cyberduck.exe\SupportedTypes" Name=".duck" Value="" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Applications\Cyberduck.exe\SupportedTypes" Name=".cyberduckprofile" Value="" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Applications\Cyberduck.exe\SupportedTypes" Name=".cyberducklicense" Value="" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Applications\Cyberduck.exe\shell\open" Name="FriendlyAppName" Value="!(bind.property.ProductName)" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Cyberduck.Bookmark" Name="FriendlyTypeName" Value="Cyberduck Bookmark" Type="string" />
<ProgId Id="Cyberduck.Bookmark" Description="Cyberduck Bookmark" Icon="cd_document.ico" Advertise="yes">
<Extension Id="duck">
<Verb Id="open" Command="Open" Argument='"%1"' />
</Extension>
</ProgId>
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Cyberduck Connection.Profile" Name="FriendlyTypeName" Value="Cyberduck Connection Profile" Type="string" />
<ProgId Id="Cyberduck Connection.Profile" Description="Cyberduck Connection Profile" Icon="cd_document.ico" Advertise="yes">
<Extension Id="cyberduckprofile">
<Verb Id="open" Command="Open" Argument='"%1"' />
</Extension>
</ProgId>
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Cyberduck.License" Name="FriendlyTypeName" Value="Cyberduck License" Type="string" />
<ProgId Id="Cyberduck.License" Description="Cyberduck License" Icon="cd_document.ico" Advertise="yes">
<Extension Id="cyberducklicense">
<Verb Id="open" Command="Open" Argument='"%1"' />
</Extension>
</ProgId>
</Component>
<Component Id="Cyberduck.Exe.Config">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.exe.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="ExceptionReporter.WinForms">
<File Source="$(var.cyberduck.TargetDir)/ExceptionReporter.WinForms.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ExceptionReporter.WinForms" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="DotNetZip">
<File Source="$(var.cyberduck.TargetDir)/DotNetZip.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_DotNetZip" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="SimpleMapi">
<File Source="$(var.cyberduck.TargetDir)/SimpleMapi.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_SimpleMapi" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="CustomOpenFileFolderDialog">
<File Source="$(var.cyberduck.TargetDir)/CustomOpenFileFolderDialog.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_CustomOpenFileFolderDialog" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Core">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Core.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Core" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Core.Native">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Core.Native.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Core.Native" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Protocols">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Protocols.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Protocols" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Bonjour">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Bonjour.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Bonjour" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Bonjour.Native">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Bonjour.Native.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Bonjour.Native" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Importer">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Importer.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Importer" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Cyberduck.Cryptomator">
<File Source="$(var.cyberduck.TargetDir)/Cyberduck.Cryptomator.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Cyberduck.Cryptomator" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="WinSparkle">
<File Source="$(var.cyberduck.TargetDir)/WinSparkle.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="msvcr120">
<File Source="$(var.cyberduck.TargetDir)/msvcr120.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="msvcp120">
<File Source="$(var.cyberduck.TargetDir)/msvcp120.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="vccorlib120">
<File Source="$(var.cyberduck.TargetDir)/vccorlib120.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="msvcr100">
<File Source="$(var.cyberduck.TargetDir)/msvcr100.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="ikvm.beans">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Beans.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.beans" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.core">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Core.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.core" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.charsets">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Charsets.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.charsets" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.localedata">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Localedata.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.localedata" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.security">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Security.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.security" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.text">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Text.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.text" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.util">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Util.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.util" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.management">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Management.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.management" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.xml.api">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.XML.API.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.xml.api" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.xml.bind">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.XML.Bind.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.xml.bind" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.xml.parse">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.XML.Parse.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.xml.parse" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.xml.transform">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.XML.Transform.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.xml.transform" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.xml.xpath">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.XML.XPath.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.xml.path" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.swingawt">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.SwingAWT.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.swingawt" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.naming">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Naming.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.naming" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.remoting">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Remoting.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.remoting" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.runtime">
<File Source="$(var.cyberduck.TargetDir)/IKVM.Runtime.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.runtime" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.runtime.jni">
<File Source="$(var.cyberduck.TargetDir)/IKVM.Runtime.JNI.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.runtime.jni" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.jdbc">
<File Source="$(var.cyberduck.TargetDir)/IKVM.OpenJDK.Jdbc.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.jdbc" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="Interop.Bonjour">
<File Source="$(var.cyberduck.TargetDir)/Interop.Bonjour.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_Interop.Bonjour" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="objectlistview">
<File Source="$(var.cyberduck.TargetDir)/ObjectListView.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_objectlistview" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="structuremap">
<File Source="$(var.cyberduck.TargetDir)/StructureMap.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_structuremap" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="WAPICP">
<File Source="$(var.cyberduck.TargetDir)/Microsoft.WindowsAPICodePack.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_WAPICP" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="WAPICPShell">
<File Source="$(var.cyberduck.TargetDir)/Microsoft.WindowsAPICodePack.Shell.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_WAPICPShell" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="ikvm.native">
<File Source="$(var.cyberduck.TargetDir)/ikvm-native-win32-x86.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_ikvm.native" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="jnidispatch">
<File Source="$(var.cyberduck.TargetDir)/jnidispatch.dll" KeyPath="yes" Checksum="yes">
<netfx:NativeImage Id="ngen_jnidispatch" Platform="32bit" Priority="3" />
</File>
</Component>
<Component Id="sunmscapi">
<File Source="$(var.cyberduck.TargetDir)/sunmscapi.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="sunec">
<File Source="$(var.cyberduck.TargetDir)/sunec.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="additional" Guid="c0733025-a4ec-4437-8617-0ace7d29318a">
<File Source="$(var.cyberduck.TargetDir)/Acknowledgments.rtf" Checksum="yes" />
<File Source="$(var.cyberduck.TargetDir)/License.txt" Checksum="yes" />
</Component>
<!-- protocol handlers -->
<Component Id="ftp" Guid="B7619F7A-1CCC-451D-95D4-1AE3A267FC05">
<RegistryKey Root="HKCR"
Key="ftp"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:ftp Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="ftps" Guid="D6870ED1-BE4B-43E6-B405-9362DC12EB48">
<RegistryKey Root="HKCR"
Key="ftps"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:ftps Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="dav" Guid="300BA5DE-87BE-4F08-B78B-991E15AE3C6D">
<RegistryKey Root="HKCR"
Key="dav"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:dav Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="davs" Guid="25ECEBD0-8F2F-4C72-8445-8466A1E799C0">
<RegistryKey Root="HKCR"
Key="davs"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:davs Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="sftp" Guid="7C828847-5026-478C-B0C5-E7CD720A94FC">
<RegistryKey Root="HKCR"
Key="sftp"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:sftp Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="s3" Guid="5F33A7F5-0DBA-437C-914E-A0CF6E016C11">
<RegistryKey Root="HKCR"
Key="s3"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:s3 Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="irods" Guid="4E5C043F-B5E3-4C6C-84C9-0D7EAF69D338">
<RegistryKey Root="HKCR"
Key="irods"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:irods Protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLLOCATION]Cyberduck.exe"/>
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value=""[INSTALLLOCATION]Cyberduck.exe" "%1""/>
</RegistryKey>
</RegistryKey>
</Component>
</ComponentGroup>
<ComponentGroup Id="Profiles" Directory="PROFILES">
<Component Id="azure.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Azure.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="b2.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/B2.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="dav.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/DAV.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="davs.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/DAVS.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="dropbox.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Dropbox.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="file.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/File.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="ftp.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/FTP.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="ftps.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/FTPS.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="googlecloudstorage.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Google Cloud Storage.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="googledrive.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Google Drive.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="onedrive.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Microsoft OneDrive.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="rackspace.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Rackspace US.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="s3.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/S3 (HTTPS).cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="sftp.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/SFTP.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="swift.cyberduckprofile">
<File Source="$(var.cyberduck.TargetDir)/profiles/Swift.cyberduckprofile" KeyPath="yes" Checksum="yes" />
</Component>
</ComponentGroup>
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut">
<Shortcut Id="ApplicationStartMenuShortcut"
Name="Cyberduck"
Description="Libre FTP, SFTP, WebDAV, S3 and OpenStack Swift browser"
Target="[#product.exe]" WorkingDirectory="INSTALLLOCATION"/>
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\Microsoft\Cyberduck" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</DirectoryRef>
<Feature Id="ProductFeature" Title="cyberduck-WiX" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<ComponentGroupRef Id="Profiles" />
<ComponentRef Id="ApplicationShortcut" />
</Feature>
<Property Id="WixShellExecTarget" Value="[#product.exe]" />
<CustomAction Id="LaunchFile"
BinaryKey="WixCA"
DllEntry="WixShellExec"
Impersonate="yes" />
<InstallExecuteSequence>
<Custom Action='LaunchFile' After='InstallFinalize'>AUTOSTART=1</Custom>
</InstallExecuteSequence>
</Product>
</Wix>