forked from iterate-ch/cyberduck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cyberduck Bootstrapper.wxs
31 lines (29 loc) · 2.01 KB
/
Cyberduck Bootstrapper.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
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle Name="Cyberduck" Version="!(bind.packageVersion.Setup)" Manufacturer="iterate GmbH"
UpgradeCode="69C1D059-4B45-4220-A82C-DAE80C9CD8E0" IconSourceFile="cyberduck-application.ico">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkSidebarLicense">
<bal:WixStandardBootstrapperApplication LicenseUrl=""
LogoFile="setup\wix\banner.png"
LogoSideFile="setup\wix\welcome.bmp"/>
</BootstrapperApplicationRef>
<Variable Name="InstallFolder" Type="string" Value="[ProgramFilesFolder]Cyberduck"/>
<util:RegistrySearch Id="PreviousInstallFolderSearch" Root="HKLM" Key="Software\[WixBundleManufacturer]\[WixBundleName]" Value="InstallDir" Variable="PreviousInstallFolder" />
<util:DirectorySearch Path="[PreviousInstallFolder]" Variable="InstallFolder" After="PreviousInstallFolderSearch" Condition="PreviousInstallFolder" />
<Variable Name="Autostart" bal:Overridable="yes" Type="numeric" Value="0" />
<Chain>
<PackageGroupRef Id="NetFx45Web"/>
<RollbackBoundary/>
<MsiPackage
Id="Setup"
Compressed="yes"
SourceFile="$(var.cyberduck-installer-msi.TargetPath)"
Vital="yes">
<MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]"/>
<MsiProperty Name="AUTOSTART" Value="0"/>
</MsiPackage>
<MsiPackage SourceFile="setup\wix\Bonjour.msi" Compressed="yes" Vital="no" InstallCondition="NOT VersionNT64"/>
<MsiPackage SourceFile="setup\wix\Bonjour64.msi" Compressed="yes" Vital="no" InstallCondition="VersionNT64"/>
</Chain>
</Bundle>
</Wix>