Files
WixBalExtensionExt/Examples/Bundle4.wxs
2014-11-12 19:36:56 -05:00

43 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!--
This example demonstrates the use of an external theme file to create the same UI as
Hyperlink2License built in to WixBalExtensionExt.
It also shows the use of checkboxes on the install and option pages.
-->
<Wix RequiredVersion="3.7.1224.0"
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="Sample Burn Installation" Version="$(bal.Version(1.0))" UpgradeCode="2C81F0BB-1891-4E83-B71A-5160BA33D985"
Manufacturer="ACME"
AboutUrl="http://wixtoolset.org">
<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.HyperlinkLicense">
<Payload SourceFile="Resource\LogoSide.png" />
<Payload SourceFile="Resource\Logo.png" />
</BootstrapperApplicationRef>
<WixVariable Id="WixExtbaLicenseUrl" Value="" />
<WixVariable Id="WixExtbaThemeXml" Value="Resource\Bundle4Theme.xml" />
<WixVariable Id="WixExtbaThemeWxl" Value="Resource\HyperlinkTheme.wxl" />
<Variable Name="InstallFolder" Type="string" Value="[ProgramFilesFolder]ACME" />
<Variable Name="InstallFolder2" Type="string" Value="[WindowsVolume]Database" />
<Variable Name="Checkbox2" Type="numeric" Value="1" />
<Variable Name="Checkbox3" Type="numeric" Value="1" />
<Chain DisableSystemRestore="yes">
<PackageGroupRef Id="NetFx40Redist" />
<MsiPackage
Id="Setup"
Compressed="yes"
SourceFile="Setup.msi"
Vital="yes">
<MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />
</MsiPackage>
</Chain>
</Bundle>
</Wix>