forked from iterate-ch/cyberduck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cyberduck CLI Bundle.wxs
25 lines (24 loc) · 1.42 KB
/
Cyberduck CLI Bundle.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
<?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 CLI" Version="!(bind.packageVersion.Setup)" Manufacturer="iterate GmbH"
UpgradeCode="46C3FB4E-2B23-4728-8196-BEA25ADE868A" 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 CLI" />
<util:RegistrySearch Id="PreviousInstallFolderSearch" Root="HKLM" Key="Software\[WixBundleManufacturer]\[WixBundleName]" Value="InstallDir" Variable="PreviousInstallFolder" />
<util:DirectorySearch Path="[PreviousInstallFolder]" Variable="InstallFolder" After="PreviousInstallFolderSearch" Condition="PreviousInstallFolder" />
<Chain>
<PackageGroupRef Id="NetFx472Web" />
<RollbackBoundary />
<MsiPackage
Id="Setup"
Compressed="yes"
SourceFile="$(var.CLI-WiX.TargetPath)"
Vital="yes">
<MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
</MsiPackage>
</Chain>
</Bundle>
</Wix>