aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/VariableTests/BundleA/Bundle.wxs
blob: d6e0fd9831a341d07e28dd95d8b40bb1fbf58582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!-- 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. -->

<?ifndef TestVersion?>
<?define TestVersion = 1.0.0.0?>
<?endif?>

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
  <!-- CommandLineVariables should be the only thing different from the template -->
  <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" bal:CommandLineVariables="caseInsensitive">
    <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" />

    <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />

    <?ifdef SoftwareTag?>
    <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" />
    <?endif?>

    <?ifndef BA?>
      <!-- pulled in through the PackageGroupRef below -->
    <?elseif $(var.BA) = "TestBAdnc"?>
      <!-- pulled in through the PackageGroupRef below -->
    <?elseif $(var.BA) = "hyperlinkLicense"?>
      <BootstrapperApplication>
        <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
      </BootstrapperApplication>
    <?else?>
      <BootstrapperApplicationRef Id="$(var.BA)" />
    <?endif?>

    <Chain>
      <?ifndef BA?>
        <PackageGroupRef Id="TestBA" />
      <?elseif $(var.BA) = "TestBAdnc"?>
        <PackageGroupRef Id="TestBAdnc" />
      <?endif?>

      <PackageGroupRef Id="BundlePackages" />
    </Chain>
  </Bundle>
</Wix>