| 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 | <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> |
| 9 | <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> |
| 10 | |
| 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> |
| 12 | |
| 13 | <!-- ParallelCache="yes" should be the only thing different from the template --> |
| 14 | <Chain ParallelCache="yes"> |
| 15 | <PackageGroupRef Id="TestBA" /> |
| 16 | |
| 17 | <PackageGroupRef Id="BundlePackages" /> |
| 18 | </Chain> |
| 19 | </Bundle> |
| 20 | <Fragment> |
| 21 | <PackageGroup Id="BundlePackages"> |
| 22 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" /> |
| 23 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" /> |
| 24 | </PackageGroup> |
| 25 | </Fragment> |
| 26 | </Wix> |