From 92714e7949c41db4c17e6bd87c919ef4b3dc34f7 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Fri, 20 Feb 2026 19:18:23 -0500 Subject: Configurable-scope bundles for WixStdBA. Fixes https://github.com/wixtoolset/issues/issues/9234 Fixes https://github.com/wixtoolset/issues/issues/9235 --- src/burn/engine/registration.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/burn/engine/registration.cpp') diff --git a/src/burn/engine/registration.cpp b/src/burn/engine/registration.cpp index 7c9ca182..e7a9b95f 100644 --- a/src/burn/engine/registration.cpp +++ b/src/burn/engine/registration.cpp @@ -441,6 +441,9 @@ extern "C" HRESULT RegistrationSetVariables( hr = VariableSetVersion(pVariables, BURN_BUNDLE_VERSION, pRegistration->pVersion, TRUE); ExitOnFailure(hr, "Failed to overwrite the bundle version built-in variable."); + hr = VariableSetNumeric(pVariables, BURN_BUNDLE_AUTHORED_SCOPE, pRegistration->scope, TRUE); + ExitOnFailure(hr, "Failed to set the bundle authored scope built-in variable."); + LExit: ReleaseStr(scz); -- cgit v1.2.3-55-g6feb