diff options
Diffstat (limited to 'src/TestData/MsiTransactionTests/BundleBv1')
3 files changed, 43 insertions, 0 deletions
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi new file mode 100644 index 00000000..943b8b48 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi | |||
| @@ -0,0 +1,17 @@ | |||
| 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 Version?> | ||
| 4 | <?define Version = 1.0.0.0?> | ||
| 5 | <?endif?> | ||
| 6 | |||
| 7 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 8 | <Bundle Name="~$(var.TestGroupName) - Bundle B" Version="$(var.Version)" UpgradeCode="{552FD011-4DD6-42B2-A4C6-AD1417C829B2}" Compressed="yes"> | ||
| 9 | <Log Prefix="~$(var.TestGroupName)_BundleB" /> | ||
| 10 | |||
| 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> | ||
| 12 | |||
| 13 | <Chain> | ||
| 14 | <PackageGroupRef Id="BundlePackages" /> | ||
| 15 | </Chain> | ||
| 16 | </Bundle> | ||
| 17 | </Include> | ||
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj new file mode 100644 index 00000000..3cf361d2 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj | |||
| @@ -0,0 +1,14 @@ | |||
| 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 | <Project Sdk="WixToolset.Sdk"> | ||
| 3 | <PropertyGroup> | ||
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | </PropertyGroup> | ||
| 6 | <ItemGroup> | ||
| 7 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 8 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> | ||
| 9 | </ItemGroup> | ||
| 10 | <ItemGroup> | ||
| 11 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 12 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.56" /> | ||
| 13 | </ItemGroup> | ||
| 14 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs new file mode 100644 index 00000000..1a24f53e --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs | |||
| @@ -0,0 +1,12 @@ | |||
| 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 | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 5 | <?include BundleB.wxi ?> | ||
| 6 | <Fragment> | ||
| 7 | <PackageGroup Id="BundlePackages"> | ||
| 8 | <PackageGroupRef Id="TestBA" /> | ||
| 9 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv1.TargetPath)" /> | ||
| 10 | </PackageGroup> | ||
| 11 | </Fragment> | ||
| 12 | </Wix> | ||
