main
wxs 68 lines 2.55 KB
Raw
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 TestVersion?>
4 <?define TestVersion = 1.0.0.0?>
5 <?endif?>
6 <?ifndef BundleLogDirectory?>
7 <?define BundleLogDirectory = .?>
8 <?endif?>
9
10 <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
11 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes">
12 <Log Prefix="$(var.BundleLogDirectory)\~$(var.TestGroupName)_$(var.BundleName)" />
13
14 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
15
16 <?ifdef SoftwareTag?>
17 <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]TestingSwidTags" />
18 <?endif?>
19
20 <?ifndef BA?>
21 <!-- pulled in through the PackageGroupRef below -->
22 <?elseif $(var.BA) = "TestBAdnc"?>
23 <!-- pulled in through the PackageGroupRef below -->
24 <?elseif $(var.BA) = "TestBA_x64"?>
25 <!-- pulled in through the PackageGroupRef below -->
26 <?elseif $(var.BA) = "TestBAdnc_x64"?>
27 <!-- pulled in through the PackageGroupRef below -->
28 <?elseif $(var.BA) = "WixBA"?>
29 <!-- pulled in through the PackageGroupRef below -->
30 <?elseif $(var.BA) = "WixBAdnc_x64"?>
31 <!-- pulled in through the PackageGroupRef below -->
32 <?elseif $(var.BA) = "hyperlinkLicense"?>
33 <BootstrapperApplication>
34 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
35 <PayloadGroupRef Id="ExtraPayloads" />
36 </BootstrapperApplication>
37 <?elseif $(var.BA) = "iui"?>
38 <BootstrapperApplication>
39 <bal:WixInternalUIBootstrapperApplication />
40 </BootstrapperApplication>
41 <?else?>
42 <BootstrapperApplicationRef Id="$(var.BA)" />
43 <?endif?>
44
45 <Chain>
46 <?ifndef BA?>
47 <PackageGroupRef Id="TestBA" />
48 <?elseif $(var.BA) = "TestBAdnc"?>
49 <PackageGroupRef Id="TestBAdnc" />
50 <?elseif $(var.BA) = "TestBA_x64"?>
51 <PackageGroupRef Id="TestBA_x64" />
52 <?elseif $(var.BA) = "TestBAdnc_x64"?>
53 <PackageGroupRef Id="TestBAdnc_x64" />
54 <?elseif $(var.BA) = "WixBA"?>
55 <PackageGroupRef Id="WixBA" />
56 <?elseif $(var.BA) = "WixBAdnc_x64"?>
57 <PackageGroupRef Id="WixBAdnc_x64" />
58 <?endif?>
59
60 <PackageGroupRef Id="BundlePackages" />
61 </Chain>
62 </Bundle>
63
64 <Fragment>
65 <PayloadGroup Id="virtual ExtraPayloads" />
66 </Fragment>
67
68 </Wix>