diff options
Diffstat (limited to 'src/TestData/MsiTransactionTests')
12 files changed, 37 insertions, 70 deletions
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props new file mode 100644 index 00000000..ba3eb3e5 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props | |||
| @@ -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> | ||
| 3 | <PropertyGroup> | ||
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> | ||
| 6 | <BA>hyperlinkLicense</BA> | ||
| 7 | <UpgradeCode>{90ED10D5-B187-4470-B498-05D80DAB729A}</UpgradeCode> | ||
| 8 | </PropertyGroup> | ||
| 9 | <ItemGroup> | ||
| 10 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
| 11 | </ItemGroup> | ||
| 12 | <ItemGroup> | ||
| 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 14 | </ItemGroup> | ||
| 15 | </Project> | ||
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi deleted file mode 100644 index ef01c2e9..00000000 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 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 index 4e92a102..607c4ce6 100644 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj | |||
| @@ -1,15 +1,9 @@ | |||
| 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. --> | 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"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <Import Project="BundleA.props" /> |
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> | ||
| 6 | </PropertyGroup> | ||
| 7 | <ItemGroup> | 4 | <ItemGroup> |
| 8 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> | 5 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> |
| 9 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> | 6 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> |
| 10 | <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" /> | 7 | <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" /> |
| 11 | </ItemGroup> | 8 | </ItemGroup> |
| 12 | <ItemGroup> | ||
| 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 14 | </ItemGroup> | ||
| 15 | </Project> \ No newline at end of file | 9 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs index f8355aa6..544fe6a6 100644 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?include BundleA.wxi ?> | ||
| 6 | <Fragment> | 5 | <Fragment> |
| 7 | <PackageGroup Id="BundlePackages"> | 6 | <PackageGroup Id="BundlePackages"> |
| 8 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" /> | 7 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" /> |
diff --git a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj index 7d1a42c5..9600f6ba 100644 --- a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj | |||
| @@ -1,8 +1,7 @@ | |||
| 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. --> | 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"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <Import Project="..\BundleAv1\BundleA.props" /> | ||
| 3 | <PropertyGroup> | 4 | <PropertyGroup> |
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> | ||
| 6 | <Version>2.0.0.0</Version> | 5 | <Version>2.0.0.0</Version> |
| 7 | </PropertyGroup> | 6 | </PropertyGroup> |
| 8 | <ItemGroup> | 7 | <ItemGroup> |
| @@ -10,7 +9,4 @@ | |||
| 10 | <ProjectReference Include="..\PackageCv2\PackageCv2.wixproj" /> | 9 | <ProjectReference Include="..\PackageCv2\PackageCv2.wixproj" /> |
| 11 | <ProjectReference Include="..\PackageD\PackageD.wixproj" /> | 10 | <ProjectReference Include="..\PackageD\PackageD.wixproj" /> |
| 12 | </ItemGroup> | 11 | </ItemGroup> |
| 13 | <ItemGroup> | ||
| 14 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 15 | </ItemGroup> | ||
| 16 | </Project> \ No newline at end of file | 12 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs index 11360c22..8623537b 100644 --- a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs +++ b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?include ..\BundleAv1\BundleA.wxi ?> | ||
| 6 | <Fragment> | 5 | <Fragment> |
| 7 | <PackageGroup Id="BundlePackages"> | 6 | <PackageGroup Id="BundlePackages"> |
| 8 | <MsiPackage Id="PackageD" SourceFile="$(var.PackageD.TargetPath)" /> | 7 | <MsiPackage Id="PackageD" SourceFile="$(var.PackageD.TargetPath)" /> |
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props new file mode 100644 index 00000000..23bd0ad3 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props | |||
| @@ -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 | <Project> | ||
| 3 | <PropertyGroup> | ||
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | <UpgradeCode>{552FD011-4DD6-42B2-A4C6-AD1417C829B2}</UpgradeCode> | ||
| 6 | </PropertyGroup> | ||
| 7 | <ItemGroup> | ||
| 8 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
| 9 | </ItemGroup> | ||
| 10 | <ItemGroup> | ||
| 11 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 12 | </ItemGroup> | ||
| 13 | <ItemGroup> | ||
| 14 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 15 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.56" /> | ||
| 16 | </ItemGroup> | ||
| 17 | </Project> | ||
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi deleted file mode 100644 index 943b8b48..00000000 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 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 index 3cf361d2..508e25ee 100644 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj | |||
| @@ -1,14 +1,7 @@ | |||
| 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. --> | 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"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <Import Project="BundleB.props" /> |
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | </PropertyGroup> | ||
| 6 | <ItemGroup> | 4 | <ItemGroup> |
| 7 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 8 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> | 5 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> |
| 9 | </ItemGroup> | 6 | </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 | 7 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs index 1a24f53e..00d927ec 100644 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs | |||
| @@ -2,10 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?include BundleB.wxi ?> | ||
| 6 | <Fragment> | 5 | <Fragment> |
| 7 | <PackageGroup Id="BundlePackages"> | 6 | <PackageGroup Id="BundlePackages"> |
| 8 | <PackageGroupRef Id="TestBA" /> | ||
| 9 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv1.TargetPath)" /> | 7 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv1.TargetPath)" /> |
| 10 | </PackageGroup> | 8 | </PackageGroup> |
| 11 | </Fragment> | 9 | </Fragment> |
diff --git a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj index 7162dea2..b84052d5 100644 --- a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj | |||
| @@ -1,18 +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. --> | 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"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <Import Project="..\BundleBv1\BundleB.props" /> | ||
| 3 | <PropertyGroup> | 4 | <PropertyGroup> |
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> | 5 | <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> |
| 6 | <BA>TestBAdnc</BA> | ||
| 6 | <Version>2.0.0.0</Version> | 7 | <Version>2.0.0.0</Version> |
| 7 | </PropertyGroup> | 8 | </PropertyGroup> |
| 8 | <ItemGroup> | 9 | <ItemGroup> |
| 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 10 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> | 10 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> |
| 11 | <ProjectReference Include="..\PackageBv2\PackageBv2.wixproj" /> | 11 | <ProjectReference Include="..\PackageBv2\PackageBv2.wixproj" /> |
| 12 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | 12 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> |
| 13 | </ItemGroup> | 13 | </ItemGroup> |
| 14 | <ItemGroup> | ||
| 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.56" /> | ||
| 17 | </ItemGroup> | ||
| 18 | </Project> \ No newline at end of file | 14 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs index 33665860..d1861e75 100644 --- a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs +++ b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs | |||
| @@ -2,10 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?include ..\BundleBv1\BundleB.wxi ?> | ||
| 6 | <Fragment> | 5 | <Fragment> |
| 7 | <PackageGroup Id="BundlePackages"> | 6 | <PackageGroup Id="BundlePackages"> |
| 8 | <PackageGroupRef Id="TestBAdnc" /> | ||
| 9 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" /> | 7 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" /> |
| 10 | <RollbackBoundary Transaction="yes" /> | 8 | <RollbackBoundary Transaction="yes" /> |
| 11 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv2.TargetPath)" /> | 9 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageBv2.TargetPath)" /> |
