| 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 | |
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 8 | <!-- The only difference from the template should be the SplashScreen --> |
| 9 | <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" SplashScreenSourceFile="..\BafThmutilTesting\theme\star_transparent.bmp"> |
| 10 | <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> |
| 11 | |
| 12 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> |
| 13 | |
| 14 | <?ifdef SoftwareTag?> |
| 15 | <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" /> |
| 16 | <?endif?> |
| 17 | |
| 18 | <?ifndef BA?> |
| 19 | <!-- pulled in through the PackageGroupRef below --> |
| 20 | <?elseif $(var.BA) = "TestBAdnc"?> |
| 21 | <!-- pulled in through the PackageGroupRef below --> |
| 22 | <?elseif $(var.BA) = "TestBA_x64"?> |
| 23 | <!-- pulled in through the PackageGroupRef below --> |
| 24 | <?elseif $(var.BA) = "TestBAdnc_x64"?> |
| 25 | <!-- pulled in through the PackageGroupRef below --> |
| 26 | <?elseif $(var.BA) = "WixBA"?> |
| 27 | <!-- pulled in through the PackageGroupRef below --> |
| 28 | <?elseif $(var.BA) = "WixBAdnc_x64"?> |
| 29 | <!-- pulled in through the PackageGroupRef below --> |
| 30 | <?elseif $(var.BA) = "hyperlinkLicense"?> |
| 31 | <BootstrapperApplication> |
| 32 | <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" /> |
| 33 | <PayloadGroupRef Id="BAPayloads" /> |
| 34 | </BootstrapperApplication> |
| 35 | <?else?> |
| 36 | <BootstrapperApplicationRef Id="$(var.BA)"> |
| 37 | <PayloadGroupRef Id="BAPayloads" /> |
| 38 | </BootstrapperApplicationRef> |
| 39 | <?endif?> |
| 40 | |
| 41 | <Chain> |
| 42 | <?ifndef BA?> |
| 43 | <PackageGroupRef Id="TestBA" /> |
| 44 | <?elseif $(var.BA) = "TestBAdnc"?> |
| 45 | <PackageGroupRef Id="TestBAdnc" /> |
| 46 | <?elseif $(var.BA) = "TestBA_x64"?> |
| 47 | <PackageGroupRef Id="TestBA_x64" /> |
| 48 | <?elseif $(var.BA) = "TestBAdnc_x64"?> |
| 49 | <PackageGroupRef Id="TestBAdnc_x64" /> |
| 50 | <?elseif $(var.BA) = "WixBA"?> |
| 51 | <PackageGroupRef Id="WixBA" /> |
| 52 | <?elseif $(var.BA) = "WixBAdnc_x64"?> |
| 53 | <PackageGroupRef Id="WixBAdnc_x64" /> |
| 54 | <?endif?> |
| 55 | |
| 56 | <PackageGroupRef Id="BundlePackages" /> |
| 57 | </Chain> |
| 58 | </Bundle> |
| 59 | </Wix> |