aboutsummaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/CacheTest.cpp
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2026-02-04 20:47:04 -0500
committerBob Arnson <bob@firegiant.com>2026-02-04 20:47:04 -0500
commitedccb203c421d2bd820062024088c6698424d9ee (patch)
tree6b47c3eb5ca53bd9f79f3d032dc1a596d411bf38 /src/burn/test/BurnUnitTest/CacheTest.cpp
parenta3d3963f806117ce123d95e8b77e73e1c1545b25 (diff)
downloadwix-edccb203c421d2bd820062024088c6698424d9ee.tar.gz
wix-edccb203c421d2bd820062024088c6698424d9ee.tar.bz2
wix-edccb203c421d2bd820062024088c6698424d9ee.zip
Support dual-purpose packages in Burn.bob/ConfigurableScopeBundles
Fixes https://github.com/wixtoolset/issues/issues/8958
Diffstat (limited to 'src/burn/test/BurnUnitTest/CacheTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/CacheTest.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/burn/test/BurnUnitTest/CacheTest.cpp b/src/burn/test/BurnUnitTest/CacheTest.cpp
index 8e3660b2..c142e673 100644
--- a/src/burn/test/BurnUnitTest/CacheTest.cpp
+++ b/src/burn/test/BurnUnitTest/CacheTest.cpp
@@ -23,11 +23,7 @@ typedef struct _CACHE_TEST_CONTEXT
23{ 23{
24} CACHE_TEST_CONTEXT; 24} CACHE_TEST_CONTEXT;
25 25
26namespace Microsoft 26namespace WixToolset
27{
28namespace Tools
29{
30namespace WindowsInstallerXml
31{ 27{
32namespace Test 28namespace Test
33{ 29{
@@ -158,7 +154,7 @@ namespace Bootstrapper
158 hr = StrAllocHexDecode(L"25e61cd83485062b70713aebddd3fe4992826cb121466fddc8de3eacb1e42f39d4bdd8455d95eec8c9529ced4c0296ab861931fe2c86df2f2b4e8d259a6d9223", &pb, &cb); 154 hr = StrAllocHexDecode(L"25e61cd83485062b70713aebddd3fe4992826cb121466fddc8de3eacb1e42f39d4bdd8455d95eec8c9529ced4c0296ab861931fe2c86df2f2b4e8d259a6d9223", &pb, &cb);
159 Assert::Equal(S_OK, hr); 155 Assert::Equal(S_OK, hr);
160 156
161 package.fPerMachine = FALSE; 157 package.scope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER;
162 package.sczCacheId = L"Bootstrapper.CacheTest.CacheSignatureTest"; 158 package.sczCacheId = L"Bootstrapper.CacheTest.CacheSignatureTest";
163 payload.sczKey = L"CacheSignatureTest.PayloadKey"; 159 payload.sczKey = L"CacheSignatureTest.PayloadKey";
164 payload.sczFilePath = L"CacheSignatureTest.File"; 160 payload.sczFilePath = L"CacheSignatureTest.File";
@@ -192,8 +188,6 @@ namespace Bootstrapper
192} 188}
193} 189}
194} 190}
195}
196}
197 191
198static HRESULT CALLBACK CacheTestEventRoutine( 192static HRESULT CALLBACK CacheTestEventRoutine(
199 __in BURN_CACHE_MESSAGE* /*pMessage*/, 193 __in BURN_CACHE_MESSAGE* /*pMessage*/,