main
wxs 63 lines 2.61 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 <!-- The only difference from the template should be the SplashScreen and uncompressed -->
12 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="no" SplashScreenSourceFile="..\..\Manual\BafThmutilTesting\theme\star_transparent.bmp">
13 <Log Prefix="$(var.BundleLogDirectory)\~$(var.TestGroupName)_$(var.BundleName)" />
14
15 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
16
17 <?ifdef SoftwareTag?>
18 <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" />
19 <?endif?>
20
21 <?ifndef BA?>
22 <!-- pulled in through the PackageGroupRef below -->
23 <?elseif $(var.BA) = "TestBAdnc"?>
24 <!-- pulled in through the PackageGroupRef below -->
25 <?elseif $(var.BA) = "TestBA_x64"?>
26 <!-- pulled in through the PackageGroupRef below -->
27 <?elseif $(var.BA) = "TestBAdnc_x64"?>
28 <!-- pulled in through the PackageGroupRef below -->
29 <?elseif $(var.BA) = "WixBA"?>
30 <!-- pulled in through the PackageGroupRef below -->
31 <?elseif $(var.BA) = "WixBAdnc_x64"?>
32 <!-- pulled in through the PackageGroupRef below -->
33 <?elseif $(var.BA) = "hyperlinkLicense"?>
34 <BootstrapperApplication>
35 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
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 </Wix>