From edccb203c421d2bd820062024088c6698424d9ee Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Wed, 4 Feb 2026 20:47:04 -0500 Subject: Support dual-purpose packages in Burn. Fixes https://github.com/wixtoolset/issues/issues/8958 --- src/burn/test/BurnUnitTest/CacheTest.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/burn/test/BurnUnitTest/CacheTest.cpp') 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 { } CACHE_TEST_CONTEXT; -namespace Microsoft -{ -namespace Tools -{ -namespace WindowsInstallerXml +namespace WixToolset { namespace Test { @@ -158,7 +154,7 @@ namespace Bootstrapper hr = StrAllocHexDecode(L"25e61cd83485062b70713aebddd3fe4992826cb121466fddc8de3eacb1e42f39d4bdd8455d95eec8c9529ced4c0296ab861931fe2c86df2f2b4e8d259a6d9223", &pb, &cb); Assert::Equal(S_OK, hr); - package.fPerMachine = FALSE; + package.scope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER; package.sczCacheId = L"Bootstrapper.CacheTest.CacheSignatureTest"; payload.sczKey = L"CacheSignatureTest.PayloadKey"; payload.sczFilePath = L"CacheSignatureTest.File"; @@ -192,8 +188,6 @@ namespace Bootstrapper } } } -} -} static HRESULT CALLBACK CacheTestEventRoutine( __in BURN_CACHE_MESSAGE* /*pMessage*/, -- cgit v1.2.3-55-g6feb