aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/plan.cpp
diff options
context:
space:
mode:
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;