aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/plan.cpp
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2026-02-20 19:18:23 -0500
committerBob Arnson <bob@firegiant.com>2026-02-20 19:18:23 -0500
commit8f3c366e9671dc5d4931dd3de28a42a1f1be32a5 (patch)
treeb9f270a14fe73dc07667cf37ea0232662e7d858b /src/burn/engine/plan.cpp
parent96222b03ccc510027cb4d506fb424961cc351e03 (diff)
downloadwix-bob/WixStdBaConfigurableScope.tar.gz
wix-bob/WixStdBaConfigurableScope.tar.bz2
wix-bob/WixStdBaConfigurableScope.zip
Configurable-scope bundles for WixStdBA.bob/WixStdBaConfigurableScope
Fixes https://github.com/wixtoolset/issues/issues/9234 Fixes https://github.com/wixtoolset/issues/issues/9235
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r--src/burn/engine/plan.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp
index 2257b28c..302c1857 100644
--- a/src/burn/engine/plan.cpp
+++ b/src/burn/engine/plan.cpp
@@ -284,7 +284,7 @@ extern "C" void PlanReset(
284 } 284 }
285 } 285 }
286 286
287 PlanSetVariables(BOOTSTRAPPER_ACTION_UNKNOWN, BOOTSTRAPPER_PACKAGE_SCOPE_INVALID, BOOTSTRAPPER_SCOPE_DEFAULT, pVariables); 287 PlanSetVariables(BOOTSTRAPPER_ACTION_UNKNOWN, BOOTSTRAPPER_SCOPE_DEFAULT, pVariables);
288} 288}
289 289
290extern "C" void PlanUninitializeExecuteAction( 290extern "C" void PlanUninitializeExecuteAction(
@@ -338,7 +338,6 @@ extern "C" void PlanUninitializeExecuteAction(
338 338
339extern "C" HRESULT PlanSetVariables( 339extern "C" HRESULT PlanSetVariables(
340 __in BOOTSTRAPPER_ACTION action, 340 __in BOOTSTRAPPER_ACTION action,
341 __in BOOTSTRAPPER_PACKAGE_SCOPE authoredScope,
342 __in BOOTSTRAPPER_SCOPE plannedScope, 341 __in BOOTSTRAPPER_SCOPE plannedScope,
343 __in BURN_VARIABLES* pVariables 342 __in BURN_VARIABLES* pVariables
344 ) 343 )
@@ -348,9 +347,6 @@ extern "C" HRESULT PlanSetVariables(
348 hr = VariableSetNumeric(pVariables, BURN_BUNDLE_ACTION, action, TRUE); 347 hr = VariableSetNumeric(pVariables, BURN_BUNDLE_ACTION, action, TRUE);
349 ExitOnFailure(hr, "Failed to set the bundle action built-in variable."); 348 ExitOnFailure(hr, "Failed to set the bundle action built-in variable.");
350 349
351 hr = VariableSetNumeric(pVariables, BURN_BUNDLE_AUTHORED_SCOPE, authoredScope, TRUE);
352 ExitOnFailure(hr, "Failed to set the bundle authored scope built-in variable.");
353
354 hr = VariableSetNumeric(pVariables, BURN_BUNDLE_PLANNED_SCOPE, plannedScope, TRUE); 350 hr = VariableSetNumeric(pVariables, BURN_BUNDLE_PLANNED_SCOPE, plannedScope, TRUE);
355 ExitOnFailure(hr, "Failed to set the bundle planned scope built-in variable."); 351 ExitOnFailure(hr, "Failed to set the bundle planned scope built-in variable.");
356 352
@@ -922,7 +918,6 @@ static HRESULT GetUpgradedBundleScope(
922 918
923 // Is the related bundle's upgrade code the same as ours? 919 // Is the related bundle's upgrade code the same as ours?
924 // If so, lock our scope to the "original" bundle's scope. 920 // If so, lock our scope to the "original" bundle's scope.
925 if (CSTR_EQUAL == ::CompareStringOrdinal(wzRelatedUpgradeCode, -1, wzUpgradeCode, -1, FALSE))
926 if (CSTR_EQUAL == ::CompareStringOrdinal(wzRelatedUpgradeCode, -1, wzUpgradeCode, -1, TRUE)) 921 if (CSTR_EQUAL == ::CompareStringOrdinal(wzRelatedUpgradeCode, -1, wzUpgradeCode, -1, TRUE))
927 { 922 {
928 *pScope = pRelatedBundle->detectedScope; 923 *pScope = pRelatedBundle->detectedScope;