diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-01 21:35:51 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 16:20:18 -0600 |
| commit | 47724ab546a84e77b4699bc28aa4e4ad7901253f (patch) | |
| tree | e70f7ba0181f3a6d29fe7417b19bd1c830e77527 /src/TestData/MsiTransactionTests/BundleBv1 | |
| parent | 73dc2706d9f151554356aaf3e69bfad5b46a21e9 (diff) | |
| download | wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.tar.gz wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.tar.bz2 wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.zip | |
Try to make it easier to add new kinds of tests.
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> | ||
