aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2022-09-09 21:23:26 -0400
committerBob Arnson <github@bobs.org>2022-09-12 13:33:03 -0400
commit5059f83d7dccd7221458fca414a0756bb83466a5 (patch)
tree485ccc37c018fb806fa76ea0401cfb7bfb24d315 /src/test
parent6a45cb7687de57056532fe897a708435deec2ea3 (diff)
downloadwix-5059f83d7dccd7221458fca414a0756bb83466a5.tar.gz
wix-5059f83d7dccd7221458fca414a0756bb83466a5.tar.bz2
wix-5059f83d7dccd7221458fca414a0756bb83466a5.zip
Support bundle updates in WixStdBA.
Fixes https://github.com/wixtoolset/issues/issues/6894.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/burn/TestBA/TestBA.cs2
-rw-r--r--src/test/burn/TestData/WixStdBaTests/BundleA/Bundle.wxs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs
index 087219af..01109911 100644
--- a/src/test/burn/TestBA/TestBA.cs
+++ b/src/test/burn/TestBA/TestBA.cs
@@ -220,7 +220,7 @@ namespace WixToolset.Test.BA
220 if (!this.UpdateAvailable && this.Engine.CompareVersions(e.Version, this.Version) > 0) 220 if (!this.UpdateAvailable && this.Engine.CompareVersions(e.Version, this.Version) > 0)
221 { 221 {
222 this.Log(String.Format("Selected update v{0}", e.Version)); 222 this.Log(String.Format("Selected update v{0}", e.Version));
223 this.Engine.SetUpdate(null, e.UpdateLocation, e.Size, UpdateHashType.None, null); 223 this.Engine.SetUpdate(null, e.UpdateLocation, e.Size, e.HashAlgorithm, e.Hash);
224 this.UpdateAvailable = true; 224 this.UpdateAvailable = true;
225 } 225 }
226 } 226 }
diff --git a/src/test/burn/TestData/WixStdBaTests/BundleA/Bundle.wxs b/src/test/burn/TestData/WixStdBaTests/BundleA/Bundle.wxs
index 99320b35..98a00344 100644
--- a/src/test/burn/TestData/WixStdBaTests/BundleA/Bundle.wxs
+++ b/src/test/burn/TestData/WixStdBaTests/BundleA/Bundle.wxs
@@ -4,6 +4,8 @@
4 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" bal:CommandLineVariables="caseSensitive"> 4 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" bal:CommandLineVariables="caseSensitive">
5 <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> 5 <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" />
6 6
7 <Update Location='http://wixtoolset.org/releases/feed/v3.14' />
8
7 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> 9 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
8 10
9 <BootstrapperApplication> 11 <BootstrapperApplication>