@@ -284,7 +284,7 @@ extern "C" void PlanReset(
284284 }
285285 }
286286
287- PlanSetVariables (BOOTSTRAPPER_ACTION_UNKNOWN, BOOTSTRAPPER_PACKAGE_SCOPE_INVALID, BOOTSTRAPPER_SCOPE_DEFAULT, pVariables);
287+ PlanSetVariables (BOOTSTRAPPER_ACTION_UNKNOWN, BOOTSTRAPPER_SCOPE_DEFAULT, pVariables);
288288}
289289
290290extern " C" void PlanUninitializeExecuteAction (
@@ -338,7 +338,6 @@ extern "C" void PlanUninitializeExecuteAction(
338338
339339extern " C" HRESULT PlanSetVariables (
340340 __in BOOTSTRAPPER_ACTION action,
341- __in BOOTSTRAPPER_PACKAGE_SCOPE authoredScope,
342341 __in BOOTSTRAPPER_SCOPE plannedScope,
343342 __in BURN_VARIABLES* pVariables
344343 )
@@ -348,9 +347,6 @@ extern "C" HRESULT PlanSetVariables(
348347 hr = VariableSetNumeric (pVariables, BURN_BUNDLE_ACTION, action, TRUE );
349348 ExitOnFailure (hr, " Failed to set the bundle action built-in variable." );
350349
351- hr = VariableSetNumeric (pVariables, BURN_BUNDLE_AUTHORED_SCOPE, authoredScope, TRUE );
352- ExitOnFailure (hr, " Failed to set the bundle authored scope built-in variable." );
353-
354350 hr = VariableSetNumeric (pVariables, BURN_BUNDLE_PLANNED_SCOPE, plannedScope, TRUE );
355351 ExitOnFailure (hr, " Failed to set the bundle planned scope built-in variable." );
356352
@@ -922,7 +918,6 @@ static HRESULT GetUpgradedBundleScope(
922918
923919 // Is the related bundle's upgrade code the same as ours?
924920 // If so, lock our scope to the "original" bundle's scope.
925- if (CSTR_EQUAL == ::CompareStringOrdinal (wzRelatedUpgradeCode, -1 , wzUpgradeCode, -1 , FALSE ))
926921 if (CSTR_EQUAL == ::CompareStringOrdinal (wzRelatedUpgradeCode, -1 , wzUpgradeCode, -1 , TRUE ))
927922 {
928923 *pScope = pRelatedBundle->detectedScope ;
0 commit comments