diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-03-11 20:57:52 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-11 21:17:20 -0600 |
commit | 7cc4271c9d78ed60e354f585d03b612a9efb7cf3 (patch) | |
tree | d4694d54b757093093223fb8291933713585ab8b | |
parent | 81908a5ec1647d76b45f50e4a18c37e1544818be (diff) | |
download | wix-7cc4271c9d78ed60e354f585d03b612a9efb7cf3.tar.gz wix-7cc4271c9d78ed60e354f585d03b612a9efb7cf3.tar.bz2 wix-7cc4271c9d78ed60e354f585d03b612a9efb7cf3.zip |
Add tests to verify #4991 and #5702.
64 files changed, 224 insertions, 53 deletions
diff --git a/global.json b/global.json index 078998a4..627b9889 100644 --- a/global.json +++ b/global.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
3 | "WixToolset.Sdk": "4.0.0-build-0195" | 3 | "WixToolset.Sdk": "4.0.0-build-0196" |
4 | }, | 4 | }, |
5 | "sdk": { | 5 | "sdk": { |
6 | "allowPrerelease": false | 6 | "allowPrerelease": false |
diff --git a/src/TestBA/TestBA.cs b/src/TestBA/TestBA.cs index 12e027b2..f86a5807 100644 --- a/src/TestBA/TestBA.cs +++ b/src/TestBA/TestBA.cs | |||
@@ -236,6 +236,11 @@ namespace WixToolset.Test.BA | |||
236 | } | 236 | } |
237 | } | 237 | } |
238 | 238 | ||
239 | protected override void OnDetectRelatedBundle(DetectRelatedBundleEventArgs args) | ||
240 | { | ||
241 | this.Log("OnDetectRelatedBundle() - id: {0}, missing from cache: {1}", args.ProductCode, args.MissingFromCache); | ||
242 | } | ||
243 | |||
239 | protected override void OnElevateBegin(ElevateBeginEventArgs args) | 244 | protected override void OnElevateBegin(ElevateBeginEventArgs args) |
240 | { | 245 | { |
241 | if (this.explicitlyElevateAndPlanFromOnElevateBegin) | 246 | if (this.explicitlyElevateAndPlanFromOnElevateBegin) |
diff --git a/src/TestBA/TestBA.csproj b/src/TestBA/TestBA.csproj index 7196ba1b..72136230 100644 --- a/src/TestBA/TestBA.csproj +++ b/src/TestBA/TestBA.csproj | |||
@@ -19,6 +19,6 @@ | |||
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | 20 | ||
21 | <ItemGroup> | 21 | <ItemGroup> |
22 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.51" /> | 22 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.52" /> |
23 | </ItemGroup> | 23 | </ItemGroup> |
24 | </Project> \ No newline at end of file | 24 | </Project> \ No newline at end of file |
diff --git a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj index ae38c899..a360812b 100644 --- a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj +++ b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj | |||
@@ -12,6 +12,6 @@ | |||
12 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> | 12 | <ProjectReference Include="..\PackageA\PackageA.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | </Project> \ No newline at end of file | 17 | </Project> \ No newline at end of file |
diff --git a/src/TestData/DependencyTests/BundleAv1/BundleAv1.wixproj b/src/TestData/DependencyTests/BundleAv1/BundleAv1.wixproj index ede63892..8693fb19 100644 --- a/src/TestData/DependencyTests/BundleAv1/BundleAv1.wixproj +++ b/src/TestData/DependencyTests/BundleAv1/BundleAv1.wixproj | |||
@@ -9,7 +9,7 @@ | |||
9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
10 | </ItemGroup> | 10 | </ItemGroup> |
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleAv1_0_1/BundleAv1_0_1.wixproj b/src/TestData/DependencyTests/BundleAv1_0_1/BundleAv1_0_1.wixproj index 26a61a70..cb47ce74 100644 --- a/src/TestData/DependencyTests/BundleAv1_0_1/BundleAv1_0_1.wixproj +++ b/src/TestData/DependencyTests/BundleAv1_0_1/BundleAv1_0_1.wixproj | |||
@@ -9,7 +9,7 @@ | |||
9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
10 | </ItemGroup> | 10 | </ItemGroup> |
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleB/BundleB.wixproj b/src/TestData/DependencyTests/BundleB/BundleB.wixproj index 34c76ccb..8894d715 100644 --- a/src/TestData/DependencyTests/BundleB/BundleB.wixproj +++ b/src/TestData/DependencyTests/BundleB/BundleB.wixproj | |||
@@ -11,7 +11,7 @@ | |||
11 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 11 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
12 | </ItemGroup> | 12 | </ItemGroup> |
13 | <ItemGroup> | 13 | <ItemGroup> |
14 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 14 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
15 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 15 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
16 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 16 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleC/BundleC.wixproj b/src/TestData/DependencyTests/BundleC/BundleC.wixproj index f77e772f..d29d2dda 100644 --- a/src/TestData/DependencyTests/BundleC/BundleC.wixproj +++ b/src/TestData/DependencyTests/BundleC/BundleC.wixproj | |||
@@ -15,7 +15,7 @@ | |||
15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
20 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 20 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
21 | </ItemGroup> | 21 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleD/BundleD.wixproj b/src/TestData/DependencyTests/BundleD/BundleD.wixproj index 6f2f098e..02a7c559 100644 --- a/src/TestData/DependencyTests/BundleD/BundleD.wixproj +++ b/src/TestData/DependencyTests/BundleD/BundleD.wixproj | |||
@@ -15,7 +15,7 @@ | |||
15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
20 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 20 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
21 | </ItemGroup> | 21 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleE/BundleE.wixproj b/src/TestData/DependencyTests/BundleE/BundleE.wixproj index e43ffceb..8129bbf3 100644 --- a/src/TestData/DependencyTests/BundleE/BundleE.wixproj +++ b/src/TestData/DependencyTests/BundleE/BundleE.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleF/BundleF.wixproj b/src/TestData/DependencyTests/BundleF/BundleF.wixproj index 0bbe9ae6..64aec84f 100644 --- a/src/TestData/DependencyTests/BundleF/BundleF.wixproj +++ b/src/TestData/DependencyTests/BundleF/BundleF.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wixproj b/src/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wixproj index 31994fb1..56c436b9 100644 --- a/src/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wixproj +++ b/src/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 18 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wixproj b/src/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wixproj index 056f8a1b..81f9cc84 100644 --- a/src/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wixproj +++ b/src/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wixproj b/src/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wixproj index 3c113acd..f882f401 100644 --- a/src/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wixproj +++ b/src/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wixproj | |||
@@ -9,7 +9,7 @@ | |||
9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
10 | </ItemGroup> | 10 | </ItemGroup> |
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 14 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wixproj b/src/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wixproj index cd88b4bf..6076aeda 100644 --- a/src/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wixproj +++ b/src/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wixproj | |||
@@ -10,7 +10,7 @@ | |||
10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | <ItemGroup> | 12 | <ItemGroup> |
13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
15 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 15 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleHv1/BundleHv1.wixproj b/src/TestData/DependencyTests/BundleHv1/BundleHv1.wixproj index 7c3d87f2..0d8ecbba 100644 --- a/src/TestData/DependencyTests/BundleHv1/BundleHv1.wixproj +++ b/src/TestData/DependencyTests/BundleHv1/BundleHv1.wixproj | |||
@@ -7,7 +7,7 @@ | |||
7 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 7 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
8 | </ItemGroup> | 8 | </ItemGroup> |
9 | <ItemGroup> | 9 | <ItemGroup> |
10 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 10 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
11 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 11 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
12 | </ItemGroup> | 12 | </ItemGroup> |
13 | </Project> \ No newline at end of file | 13 | </Project> \ No newline at end of file |
diff --git a/src/TestData/DependencyTests/BundleHv2/BundleHv2.wixproj b/src/TestData/DependencyTests/BundleHv2/BundleHv2.wixproj index 4cf14238..4a08d817 100644 --- a/src/TestData/DependencyTests/BundleHv2/BundleHv2.wixproj +++ b/src/TestData/DependencyTests/BundleHv2/BundleHv2.wixproj | |||
@@ -10,7 +10,7 @@ | |||
10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | <ItemGroup> | 12 | <ItemGroup> |
13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | </Project> \ No newline at end of file | 16 | </Project> \ No newline at end of file |
diff --git a/src/TestData/DependencyTests/BundleJ/BundleJ.wixproj b/src/TestData/DependencyTests/BundleJ/BundleJ.wixproj index 004b2d6a..5087c983 100644 --- a/src/TestData/DependencyTests/BundleJ/BundleJ.wixproj +++ b/src/TestData/DependencyTests/BundleJ/BundleJ.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wixproj b/src/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wixproj index b7dbd86a..b827e325 100644 --- a/src/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wixproj +++ b/src/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 19 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
diff --git a/src/TestData/DependencyTests/BundleKv1/BundleKv1.wixproj b/src/TestData/DependencyTests/BundleKv1/BundleKv1.wixproj index c5fca017..74e5b1ca 100644 --- a/src/TestData/DependencyTests/BundleKv1/BundleKv1.wixproj +++ b/src/TestData/DependencyTests/BundleKv1/BundleKv1.wixproj | |||
@@ -6,7 +6,7 @@ | |||
6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
7 | </ItemGroup> | 7 | </ItemGroup> |
8 | <ItemGroup> | 8 | <ItemGroup> |
9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | </Project> \ No newline at end of file | 12 | </Project> \ No newline at end of file |
diff --git a/src/TestData/DependencyTests/BundleKv2/BundleKv2.wixproj b/src/TestData/DependencyTests/BundleKv2/BundleKv2.wixproj index fbb53324..2761df11 100644 --- a/src/TestData/DependencyTests/BundleKv2/BundleKv2.wixproj +++ b/src/TestData/DependencyTests/BundleKv2/BundleKv2.wixproj | |||
@@ -9,7 +9,7 @@ | |||
9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
10 | </ItemGroup> | 10 | </ItemGroup> |
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | </Project> \ No newline at end of file | 15 | </Project> \ No newline at end of file |
diff --git a/src/TestData/DependencyTests/BundleL/BundleL.wixproj b/src/TestData/DependencyTests/BundleL/BundleL.wixproj index f25af7f9..11b7cb75 100644 --- a/src/TestData/DependencyTests/BundleL/BundleL.wixproj +++ b/src/TestData/DependencyTests/BundleL/BundleL.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> | 18 | <PackageReference Include="WixToolset.Util.wixext" Version="4.0.77" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
diff --git a/src/TestData/ElevationTests/BundleA/BundleA.wixproj b/src/TestData/ElevationTests/BundleA/BundleA.wixproj index 0a6471a6..0c171236 100644 --- a/src/TestData/ElevationTests/BundleA/BundleA.wixproj +++ b/src/TestData/ElevationTests/BundleA/BundleA.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/FailureTests/BundleA/BundleA.wixproj b/src/TestData/FailureTests/BundleA/BundleA.wixproj index 837a94d8..f72d6ba5 100644 --- a/src/TestData/FailureTests/BundleA/BundleA.wixproj +++ b/src/TestData/FailureTests/BundleA/BundleA.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/FailureTests/BundleB/BundleB.wixproj b/src/TestData/FailureTests/BundleB/BundleB.wixproj index ff367ee4..8cd80a51 100644 --- a/src/TestData/FailureTests/BundleB/BundleB.wixproj +++ b/src/TestData/FailureTests/BundleB/BundleB.wixproj | |||
@@ -10,7 +10,7 @@ | |||
10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | <ItemGroup> | 12 | <ItemGroup> |
13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 14 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | </Project> \ No newline at end of file | 16 | </Project> \ No newline at end of file |
diff --git a/src/TestData/FailureTests/BundleC/BundleC.wixproj b/src/TestData/FailureTests/BundleC/BundleC.wixproj index fc95d526..f56e9388 100644 --- a/src/TestData/FailureTests/BundleC/BundleC.wixproj +++ b/src/TestData/FailureTests/BundleC/BundleC.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj index dea8b4f4..69d0408f 100644 --- a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj +++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj | |||
@@ -6,7 +6,7 @@ | |||
6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
7 | </ItemGroup> | 7 | </ItemGroup> |
8 | <ItemGroup> | 8 | <ItemGroup> |
9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | </Project> \ No newline at end of file | 12 | </Project> \ No newline at end of file |
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv2/BundleAv2.wixproj b/src/TestData/ForwardCompatibleBundleTests/BundleAv2/BundleAv2.wixproj index dec1d299..8c218de8 100644 --- a/src/TestData/ForwardCompatibleBundleTests/BundleAv2/BundleAv2.wixproj +++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv2/BundleAv2.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleCv1/BundleCv1.wixproj b/src/TestData/ForwardCompatibleBundleTests/BundleCv1/BundleCv1.wixproj index 28c6a478..4ab4e9c8 100644 --- a/src/TestData/ForwardCompatibleBundleTests/BundleCv1/BundleCv1.wixproj +++ b/src/TestData/ForwardCompatibleBundleTests/BundleCv1/BundleCv1.wixproj | |||
@@ -6,7 +6,7 @@ | |||
6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
7 | </ItemGroup> | 7 | </ItemGroup> |
8 | <ItemGroup> | 8 | <ItemGroup> |
9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | </Project> \ No newline at end of file | 12 | </Project> \ No newline at end of file |
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleCv2/BundleCv2.wixproj b/src/TestData/ForwardCompatibleBundleTests/BundleCv2/BundleCv2.wixproj index 51f61d73..dbf64202 100644 --- a/src/TestData/ForwardCompatibleBundleTests/BundleCv2/BundleCv2.wixproj +++ b/src/TestData/ForwardCompatibleBundleTests/BundleCv2/BundleCv2.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj index c240711d..37f6fe3d 100644 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj | |||
@@ -7,6 +7,6 @@ | |||
7 | <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" /> | 7 | <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" /> |
8 | </ItemGroup> | 8 | </ItemGroup> |
9 | <ItemGroup> | 9 | <ItemGroup> |
10 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 10 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | </Project> \ No newline at end of file | 12 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj index 0769a7ef..4a0338e9 100644 --- a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj | |||
@@ -10,6 +10,6 @@ | |||
10 | <ProjectReference Include="..\PackageD\PackageD.wixproj" /> | 10 | <ProjectReference Include="..\PackageD\PackageD.wixproj" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | <ItemGroup> | 12 | <ItemGroup> |
13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 13 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | </Project> \ No newline at end of file | 15 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj index 0a40354d..7580e13b 100644 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj | |||
@@ -5,7 +5,7 @@ | |||
5 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> | 5 | <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> |
6 | </ItemGroup> | 6 | </ItemGroup> |
7 | <ItemGroup> | 7 | <ItemGroup> |
8 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 8 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
9 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 9 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
10 | </ItemGroup> | 10 | </ItemGroup> |
11 | </Project> \ No newline at end of file | 11 | </Project> \ No newline at end of file |
diff --git a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj index 0ad40b51..787cd584 100644 --- a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | 12 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/PatchTests/BundleA/BundleA.wixproj b/src/TestData/PatchTests/BundleA/BundleA.wixproj index 96f1e03a..b9d601c7 100644 --- a/src/TestData/PatchTests/BundleA/BundleA.wixproj +++ b/src/TestData/PatchTests/BundleA/BundleA.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj index f7a8c580..998a3abc 100644 --- a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj +++ b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj index b886f148..a235474e 100644 --- a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj +++ b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | </Project> \ No newline at end of file | 20 | </Project> \ No newline at end of file |
diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj index 15913104..a61f4529 100644 --- a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj +++ b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj | |||
@@ -16,6 +16,6 @@ | |||
16 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | 16 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | <ItemGroup> | 18 | <ItemGroup> |
19 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 19 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | </Project> \ No newline at end of file | 21 | </Project> \ No newline at end of file |
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj index 66140e97..de26e2f8 100644 --- a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj | |||
@@ -16,6 +16,6 @@ | |||
16 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | 16 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | <ItemGroup> | 18 | <ItemGroup> |
19 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 19 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | </Project> \ No newline at end of file | 21 | </Project> \ No newline at end of file |
diff --git a/src/TestData/RegistrationTests/BundleA/BundleA.wixproj b/src/TestData/RegistrationTests/BundleA/BundleA.wixproj index c2e01330..bb816c8c 100644 --- a/src/TestData/RegistrationTests/BundleA/BundleA.wixproj +++ b/src/TestData/RegistrationTests/BundleA/BundleA.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj index a548161e..14ef9f55 100644 --- a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj +++ b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj | |||
@@ -15,6 +15,6 @@ | |||
15 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | 15 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | </Project> \ No newline at end of file | 20 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleA/BundleA.wixproj b/src/TestData/SlipstreamTests/BundleA/BundleA.wixproj index 1db21045..f4ce06f2 100644 --- a/src/TestData/SlipstreamTests/BundleA/BundleA.wixproj +++ b/src/TestData/SlipstreamTests/BundleA/BundleA.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wixproj b/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wixproj index 5a81ff89..bc6b32c6 100644 --- a/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wixproj +++ b/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleB/BundleB.wixproj b/src/TestData/SlipstreamTests/BundleB/BundleB.wixproj index c21e0adc..86d3a019 100644 --- a/src/TestData/SlipstreamTests/BundleB/BundleB.wixproj +++ b/src/TestData/SlipstreamTests/BundleB/BundleB.wixproj | |||
@@ -14,7 +14,7 @@ | |||
14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 14 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 18 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | </Project> \ No newline at end of file | 20 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleC/BundleC.wixproj b/src/TestData/SlipstreamTests/BundleC/BundleC.wixproj index 570d1520..7bb8f67c 100644 --- a/src/TestData/SlipstreamTests/BundleC/BundleC.wixproj +++ b/src/TestData/SlipstreamTests/BundleC/BundleC.wixproj | |||
@@ -15,7 +15,7 @@ | |||
15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 15 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 19 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | </Project> \ No newline at end of file | 21 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleD/BundleD.wixproj b/src/TestData/SlipstreamTests/BundleD/BundleD.wixproj index 13e4a9e0..273ace2d 100644 --- a/src/TestData/SlipstreamTests/BundleD/BundleD.wixproj +++ b/src/TestData/SlipstreamTests/BundleD/BundleD.wixproj | |||
@@ -13,7 +13,7 @@ | |||
13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 13 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 17 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wixproj b/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wixproj index 5170c4fd..c843cc5f 100644 --- a/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wixproj +++ b/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wixproj b/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wixproj index 96223368..cabc5727 100644 --- a/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wixproj +++ b/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wixproj | |||
@@ -12,7 +12,7 @@ | |||
12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | 12 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> |
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 15 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | 16 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 18 | </Project> \ No newline at end of file |
diff --git a/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj index 33b1379e..2bd434ce 100644 --- a/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj +++ b/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj | |||
@@ -14,6 +14,6 @@ | |||
14 | <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" /> | 14 | <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" /> |
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | <ItemGroup> | 16 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" /> | 17 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> |
18 | </ItemGroup> | 18 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 19 | </Project> \ No newline at end of file |
diff --git a/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleA.props b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleA.props new file mode 100644 index 00000000..ee20a72c --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleA.props | |||
@@ -0,0 +1,10 @@ | |||
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>{8C01FD92-87BE-419B-88EC-36754E93CA67}</UpgradeCode> | ||
6 | </PropertyGroup> | ||
7 | <ItemGroup> | ||
8 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
9 | </ItemGroup> | ||
10 | </Project> | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wixproj b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wixproj new file mode 100644 index 00000000..69d0408f --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wixproj | |||
@@ -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 | <Project Sdk="WixToolset.Sdk"> | ||
3 | <Import Project="BundleA.props" /> | ||
4 | <ItemGroup> | ||
5 | <ProjectReference Include="..\PackageAv1\PackageAv1.wixproj" /> | ||
6 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
7 | </ItemGroup> | ||
8 | <ItemGroup> | ||
9 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> | ||
10 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | ||
11 | </ItemGroup> | ||
12 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wxs b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wxs new file mode 100644 index 00000000..7bf16212 --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/BundleAv1/BundleAv1.wxs | |||
@@ -0,0 +1,10 @@ | |||
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 | <Fragment> | ||
6 | <PackageGroup Id="BundlePackages"> | ||
7 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | ||
8 | </PackageGroup> | ||
9 | </Fragment> | ||
10 | </Wix> | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.wixproj b/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.wixproj new file mode 100644 index 00000000..78e773db --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.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 | <Import Project="..\BundleAv1\BundleA.props" /> | ||
4 | <PropertyGroup> | ||
5 | <Version>2.0.0.0</Version> | ||
6 | </PropertyGroup> | ||
7 | <ItemGroup> | ||
8 | <ProjectReference Include="..\PackageAv2\PackageAv2.wixproj" /> | ||
9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
10 | </ItemGroup> | ||
11 | <ItemGroup> | ||
12 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.90" /> | ||
13 | <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" /> | ||
14 | </ItemGroup> | ||
15 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.wxs b/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.wxs new file mode 100644 index 00000000..5cbee5a8 --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/BundleAv2/BundleAv2.wxs | |||
@@ -0,0 +1,10 @@ | |||
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 | <Fragment> | ||
6 | <PackageGroup Id="BundlePackages"> | ||
7 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv2.TargetPath)" /> | ||
8 | </PackageGroup> | ||
9 | </Fragment> | ||
10 | </Wix> | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageA.props b/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageA.props new file mode 100644 index 00000000..53541e10 --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageA.props | |||
@@ -0,0 +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. --> | ||
2 | <Project> | ||
3 | <PropertyGroup> | ||
4 | <UpgradeCode>{E7AF5E0D-EC10-4339-9126-76A76011DA3A}</UpgradeCode> | ||
5 | </PropertyGroup> | ||
6 | <ItemGroup> | ||
7 | <Compile Include="..\..\Templates\Package.wxs" Link="Package.wxs" /> | ||
8 | </ItemGroup> | ||
9 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageAv1.wixproj b/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageAv1.wixproj new file mode 100644 index 00000000..45d3b2c8 --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/PackageAv1/PackageAv1.wixproj | |||
@@ -0,0 +1,4 @@ | |||
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 | <Import Project="PackageA.props" /> | ||
4 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/UpgradeRelatedBundleTests/PackageAv2/PackageAv2.wixproj b/src/TestData/UpgradeRelatedBundleTests/PackageAv2/PackageAv2.wixproj new file mode 100644 index 00000000..b419f663 --- /dev/null +++ b/src/TestData/UpgradeRelatedBundleTests/PackageAv2/PackageAv2.wixproj | |||
@@ -0,0 +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. --> | ||
2 | <Project Sdk="WixToolset.Sdk"> | ||
3 | <Import Project="..\PackageAv1\PackageA.props" /> | ||
4 | <PropertyGroup> | ||
5 | <Version>2.0.0.0</Version> | ||
6 | </PropertyGroup> | ||
7 | </Project> \ No newline at end of file | ||
diff --git a/src/WixTestTools/BundleInstaller.cs b/src/WixTestTools/BundleInstaller.cs index 854c12f0..859656ad 100644 --- a/src/WixTestTools/BundleInstaller.cs +++ b/src/WixTestTools/BundleInstaller.cs | |||
@@ -37,6 +37,18 @@ namespace WixTestTools | |||
37 | } | 37 | } |
38 | 38 | ||
39 | /// <summary> | 39 | /// <summary> |
40 | /// Installs the bundle with optional arguments. | ||
41 | /// </summary> | ||
42 | /// <param name="bundlePath">This should be the bundle in the package cache.</param> | ||
43 | /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> | ||
44 | /// <param name="arguments">Optional arguments to pass to the tool.</param> | ||
45 | /// <returns>Path to the generated log file.</returns> | ||
46 | public string Install(string bundlePath, int expectedExitCode = (int)MSIExec.MSIExecReturnCode.SUCCESS, params string[] arguments) | ||
47 | { | ||
48 | return this.RunBundleWithArguments(expectedExitCode, MSIExec.MSIExecMode.Install, arguments, bundlePath: bundlePath); | ||
49 | } | ||
50 | |||
51 | /// <summary> | ||
40 | /// Modify the bundle with optional arguments. | 52 | /// Modify the bundle with optional arguments. |
41 | /// </summary> | 53 | /// </summary> |
42 | /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> | 54 | /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> |
diff --git a/src/WixTestTools/BundleVerifier.cs b/src/WixTestTools/BundleVerifier.cs index 433b6a0a..293da560 100644 --- a/src/WixTestTools/BundleVerifier.cs +++ b/src/WixTestTools/BundleVerifier.cs | |||
@@ -56,6 +56,20 @@ namespace WixTestTools | |||
56 | return Path.Combine(cachePath, Path.GetFileName(this.Bundle)); | 56 | return Path.Combine(cachePath, Path.GetFileName(this.Bundle)); |
57 | } | 57 | } |
58 | 58 | ||
59 | public string ManuallyCache() | ||
60 | { | ||
61 | var expectedCachePath = this.GetExpectedCachedBundlePath(); | ||
62 | Directory.CreateDirectory(Path.GetDirectoryName(expectedCachePath)); | ||
63 | File.Copy(this.Bundle, expectedCachePath); | ||
64 | return expectedCachePath; | ||
65 | } | ||
66 | |||
67 | public void ManuallyUncache() | ||
68 | { | ||
69 | var expectedCachePath = this.GetExpectedCachedBundlePath(); | ||
70 | File.Delete(expectedCachePath); | ||
71 | } | ||
72 | |||
59 | public bool TryGetRegistration(out BundleRegistration registration) | 73 | public bool TryGetRegistration(out BundleRegistration registration) |
60 | { | 74 | { |
61 | var bundleSymbol = this.GetBundleSymbol(); | 75 | var bundleSymbol = this.GetBundleSymbol(); |
diff --git a/src/WixTestTools/WixTestTools.csproj b/src/WixTestTools/WixTestTools.csproj index 0c3c4c76..38b2cb35 100644 --- a/src/WixTestTools/WixTestTools.csproj +++ b/src/WixTestTools/WixTestTools.csproj | |||
@@ -11,8 +11,8 @@ | |||
11 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> | 11 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> |
12 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> | 12 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> |
13 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> | 13 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> |
14 | <PackageReference Include="WixToolset.Data" Version="4.0.198" /> | 14 | <PackageReference Include="WixToolset.Data" Version="4.0.199" /> |
15 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.51" /> | 15 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.52" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | 17 | ||
18 | <ItemGroup> | 18 | <ItemGroup> |
diff --git a/src/WixToolsetTest.BurnE2E/DependencyTests.cs b/src/WixToolsetTest.BurnE2E/DependencyTests.cs index 2e27239f..f542b149 100644 --- a/src/WixToolsetTest.BurnE2E/DependencyTests.cs +++ b/src/WixToolsetTest.BurnE2E/DependencyTests.cs | |||
@@ -593,7 +593,7 @@ namespace WixToolsetTest.BurnE2E | |||
593 | packageDv2.VerifyInstalled(true); | 593 | packageDv2.VerifyInstalled(true); |
594 | 594 | ||
595 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleHv2InstallLogFilePath, @"Skipping cross-scope dependency registration on package: PackageA, bundle scope: PerUser, package scope: PerMachine")); | 595 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleHv2InstallLogFilePath, @"Skipping cross-scope dependency registration on package: PackageA, bundle scope: PerUser, package scope: PerMachine")); |
596 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleHv2InstallLogFilePath, @"Detected related bundle: \{[0-9A-Za-z\-]{36}\}, type: Upgrade, scope: PerUser, version: 1\.0\.0\.0, operation: MajorUpgrade")); | 596 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleHv2InstallLogFilePath, @"Detected related bundle: \{[0-9A-Za-z\-]{36}\}, type: Upgrade, scope: PerUser, version: 1\.0\.0\.0, operation: MajorUpgrade, cached: Complete")); |
597 | 597 | ||
598 | bundleHv2.Uninstall(); | 598 | bundleHv2.Uninstall(); |
599 | bundleHv2.VerifyUnregisteredAndRemovedFromPackageCache(); | 599 | bundleHv2.VerifyUnregisteredAndRemovedFromPackageCache(); |
diff --git a/src/WixToolsetTest.BurnE2E/RegistrationTests.cs b/src/WixToolsetTest.BurnE2E/RegistrationTests.cs index 640b5085..51122c28 100644 --- a/src/WixToolsetTest.BurnE2E/RegistrationTests.cs +++ b/src/WixToolsetTest.BurnE2E/RegistrationTests.cs | |||
@@ -11,6 +11,21 @@ namespace WixToolsetTest.BurnE2E | |||
11 | public RegistrationTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } | 11 | public RegistrationTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } |
12 | 12 | ||
13 | [Fact] | 13 | [Fact] |
14 | public void AutomaticallyUncachesBundleWhenNotInstalled() | ||
15 | { | ||
16 | var bundleA = this.CreateBundleInstaller("BundleA"); | ||
17 | var testBAController = this.CreateTestBAController(); | ||
18 | |||
19 | var cachedBundlePath = bundleA.ManuallyCache(); | ||
20 | |||
21 | testBAController.SetQuitAfterDetect(); | ||
22 | |||
23 | bundleA.Install(cachedBundlePath); | ||
24 | |||
25 | bundleA.VerifyUnregisteredAndRemovedFromPackageCache(); | ||
26 | } | ||
27 | |||
28 | [Fact] | ||
14 | public void AutomaticallyUninstallsBundleWithoutBADoingApply() | 29 | public void AutomaticallyUninstallsBundleWithoutBADoingApply() |
15 | { | 30 | { |
16 | this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(true); | 31 | this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(true); |
@@ -22,6 +37,18 @@ namespace WixToolsetTest.BurnE2E | |||
22 | this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(false); | 37 | this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(false); |
23 | } | 38 | } |
24 | 39 | ||
40 | [Fact] | ||
41 | public void RegistersInARPIfPrecached() | ||
42 | { | ||
43 | var bundleA = this.CreateBundleInstaller("BundleA"); | ||
44 | |||
45 | bundleA.ManuallyCache(); | ||
46 | |||
47 | // Verifies https://github.com/wixtoolset/issues/issues/5702 | ||
48 | bundleA.Install(); | ||
49 | bundleA.VerifyRegisteredAndInPackageCache(); | ||
50 | } | ||
51 | |||
25 | private void InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(bool detect) | 52 | private void InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(bool detect) |
26 | { | 53 | { |
27 | var packageA = this.CreatePackageInstaller("PackageA"); | 54 | var packageA = this.CreatePackageInstaller("PackageA"); |
diff --git a/src/WixToolsetTest.BurnE2E/UpgradeRelatedBundleTests.cs b/src/WixToolsetTest.BurnE2E/UpgradeRelatedBundleTests.cs new file mode 100644 index 00000000..a48f45f4 --- /dev/null +++ b/src/WixToolsetTest.BurnE2E/UpgradeRelatedBundleTests.cs | |||
@@ -0,0 +1,36 @@ | |||
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 | namespace WixToolsetTest.BurnE2E | ||
4 | { | ||
5 | using System; | ||
6 | using System.IO; | ||
7 | using WixTestTools; | ||
8 | using Xunit; | ||
9 | using Xunit.Abstractions; | ||
10 | |||
11 | public class UpgradeRelatedBundleTests : BurnE2ETests | ||
12 | { | ||
13 | public UpgradeRelatedBundleTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } | ||
14 | |||
15 | [Fact] | ||
16 | public void ReportsRelatedBundleMissingFromCache() | ||
17 | { | ||
18 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); | ||
19 | var packageAv2 = this.CreatePackageInstaller("PackageAv2"); | ||
20 | var bundleAv1 = this.CreateBundleInstaller("BundleAv1"); | ||
21 | var bundleAv2 = this.CreateBundleInstaller("BundleAv2"); | ||
22 | |||
23 | bundleAv1.Install(); | ||
24 | bundleAv1.VerifyRegisteredAndInPackageCache(); | ||
25 | |||
26 | bundleAv1.ManuallyUncache(); | ||
27 | |||
28 | // Verify https://github.com/wixtoolset/issues/issues/4991 | ||
29 | var bundleAv2InstallLogFilePath = bundleAv2.Install(); | ||
30 | bundleAv2.VerifyRegisteredAndInPackageCache(); | ||
31 | |||
32 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleAv2InstallLogFilePath, @"OnDetectRelatedBundle\(\) - id: \{[0-9A-Za-z\-]{36}\}, missing from cache: True")); | ||
33 | Assert.True(LogVerifier.MessageInLogFileRegex(bundleAv2InstallLogFilePath, @"Detected related bundle: \{[0-9A-Za-z\-]{36}\}, type: Upgrade, scope: PerMachine, version: 1\.0\.0\.0, operation: MajorUpgrade, cached: None")); | ||
34 | } | ||
35 | } | ||
36 | } | ||
diff --git a/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj b/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj index f1db82e7..170f5c73 100644 --- a/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj +++ b/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj | |||
@@ -20,8 +20,8 @@ | |||
20 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> | 20 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> |
21 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> | 21 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> |
22 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> | 22 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> |
23 | <PackageReference Include="WixToolset.Data" Version="4.0.198" /> | 23 | <PackageReference Include="WixToolset.Data" Version="4.0.199" /> |
24 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.51" /> | 24 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.52" /> |
25 | </ItemGroup> | 25 | </ItemGroup> |
26 | 26 | ||
27 | <ItemGroup> | 27 | <ItemGroup> |