aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/Templates/Bundle.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/burn/TestData/Templates/Bundle.wxs')
-rw-r--r--src/test/burn/TestData/Templates/Bundle.wxs47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/test/burn/TestData/Templates/Bundle.wxs b/src/test/burn/TestData/Templates/Bundle.wxs
new file mode 100644
index 00000000..06409504
--- /dev/null
+++ b/src/test/burn/TestData/Templates/Bundle.wxs
@@ -0,0 +1,47 @@
1<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
2
3<?ifndef Version?>
4<?define Version = 1.0.0.0?>
5<?endif?>
6
7<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
8 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes">
9 <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" />
10
11 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
12
13 <?ifdef SoftwareTag?>
14 <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" />
15 <?endif?>
16
17 <?ifndef BA?>
18 <!-- pulled in through the PackageGroupRef below -->
19 <?elseif $(var.BA) = "TestBAdnc"?>
20 <!-- pulled in through the PackageGroupRef below -->
21 <?elseif $(var.BA) = "TestBA_x64"?>
22 <!-- pulled in through the PackageGroupRef below -->
23 <?elseif $(var.BA) = "TestBAdnc_x64"?>
24 <!-- pulled in through the PackageGroupRef below -->
25 <?elseif $(var.BA) = "hyperlinkLicense"?>
26 <BootstrapperApplication>
27 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
28 </BootstrapperApplication>
29 <?else?>
30 <BootstrapperApplicationRef Id="$(var.BA)" />
31 <?endif?>
32
33 <Chain>
34 <?ifndef BA?>
35 <PackageGroupRef Id="TestBA" />
36 <?elseif $(var.BA) = "TestBAdnc"?>
37 <PackageGroupRef Id="TestBAdnc" />
38 <?elseif $(var.BA) = "TestBA_x64"?>
39 <PackageGroupRef Id="TestBA_x64" />
40 <?elseif $(var.BA) = "TestBAdnc_x64"?>
41 <PackageGroupRef Id="TestBAdnc_x64" />
42 <?endif?>
43
44 <PackageGroupRef Id="BundlePackages" />
45 </Chain>
46 </Bundle>
47</Wix>