diff options
Diffstat (limited to 'src/burn/engine/core.cpp')
| -rw-r--r-- | src/burn/engine/core.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/burn/engine/core.cpp b/src/burn/engine/core.cpp index 812c7261..96845655 100644 --- a/src/burn/engine/core.cpp +++ b/src/burn/engine/core.cpp | |||
| @@ -676,16 +676,6 @@ extern "C" HRESULT CoreApply( | |||
| 676 | 676 | ||
| 677 | pEngineState->plan.fAffectedMachineState = pEngineState->plan.fCanAffectMachineState; | 677 | pEngineState->plan.fAffectedMachineState = pEngineState->plan.fCanAffectMachineState; |
| 678 | 678 | ||
| 679 | // Abort if could affect machine state and this bundle already requires a restart. | ||
| 680 | if (pEngineState->plan.fCanAffectMachineState && BOOTSTRAPPER_RESUME_TYPE_REBOOT_PENDING == pEngineState->command.resumeType) | ||
| 681 | { | ||
| 682 | restart = BOOTSTRAPPER_APPLY_RESTART_REQUIRED; | ||
| 683 | |||
| 684 | hr = HRESULT_FROM_WIN32(ERROR_FAIL_NOACTION_REBOOT); | ||
| 685 | UserExperienceSendError(&pEngineState->userExperience, BOOTSTRAPPER_ERROR_TYPE_APPLY, NULL, hr, NULL, MB_ICONERROR | MB_OK, IDNOACTION); // ignore return value. | ||
| 686 | ExitFunction(); | ||
| 687 | } | ||
| 688 | |||
| 689 | hr = ApplyLock(FALSE, &hLock); | 679 | hr = ApplyLock(FALSE, &hLock); |
| 690 | ExitOnFailure(hr, "Another per-user setup is already executing."); | 680 | ExitOnFailure(hr, "Another per-user setup is already executing."); |
| 691 | 681 | ||
