aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/MsiTransactionTests/BundleAv1
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-01 21:35:51 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 16:20:18 -0600
commit47724ab546a84e77b4699bc28aa4e4ad7901253f (patch)
treee70f7ba0181f3a6d29fe7417b19bd1c830e77527 /src/TestData/MsiTransactionTests/BundleAv1
parent73dc2706d9f151554356aaf3e69bfad5b46a21e9 (diff)
downloadwix-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/BundleAv1')
-rw-r--r--src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi21
-rw-r--r--src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj15
-rw-r--r--src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs14
3 files changed, 50 insertions, 0 deletions
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi
new file mode 100644
index 00000000..ef01c2e9
--- /dev/null
+++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi
@@ -0,0 +1,21 @@
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" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
8 <Bundle Name="~$(var.TestGroupName) - Bundle A" Version="$(var.Version)" UpgradeCode="{90ED10D5-B187-4470-B498-05D80DAB729A}" Compressed="yes">
9 <Log Prefix="~$(var.TestGroupName)_BundleA" />
10
11 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
12
13 <BootstrapperApplication>
14 <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" />
15 </BootstrapperApplication>
16
17 <Chain>
18 <PackageGroupRef Id="BundlePackages" />
19 </Chain>
20 </Bundle>
21</Include>
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj
new file mode 100644
index 00000000..4e92a102
--- /dev/null
+++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj
@@ -0,0 +1,15 @@
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 <SuppressSpecificWarnings>1151</SuppressSpecificWarnings>
6 </PropertyGroup>
7 <ItemGroup>
8 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
9 <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" />
10 <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" />
11 </ItemGroup>
12 <ItemGroup>
13 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" />
14 </ItemGroup>
15</Project> \ No newline at end of file
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs
new file mode 100644
index 00000000..f8355aa6
--- /dev/null
+++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs
@@ -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
3
4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
5 <?include BundleA.wxi ?>
6 <Fragment>
7 <PackageGroup Id="BundlePackages">
8 <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" />
9 <RollbackBoundary Transaction="yes" />
10 <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv1.TargetPath)" />
11 <MsiPackage Id="PackageC" SourceFile="$(var.PackageCv1.TargetPath)" />
12 </PackageGroup>
13 </Fragment>
14</Wix>