Lines Matching defs:restart
530 // on the "Success" page, check if the restart button should be enabled.
536 if (BOOTSTRAPPER_RESTART_PROMPT == _command.restart) {
603 // on the "Failure" page, show error message and check if the restart button should be enabled.
642 if (_restartRequired && BOOTSTRAPPER_RESTART_PROMPT == _command.restart) {
706 // If a restart was required.
866 // If we're not interacting with the user or we're doing a layout or we're just after a force restart
895 // After restart we need to finish the dependency registration for our package so allow the package
898 // Do not allow a repair because that could put us in a perpetual restart loop.
906 BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Skipping package: %ls, after restart because it was applied before the restart.", wzPackageId);
1204 __in BOOTSTRAPPER_APPLY_RESTART restart,
1221 int nResult = __super::OnExecutePackageComplete(wzPackageId, hrExitCode, restart, nRecommendation);
1282 virtual STDMETHODIMP_(int) OnApplyComplete(__in HRESULT hrStatus, __in BOOTSTRAPPER_APPLY_RESTART restart) {
1283 _restartResult = restart; // remember the restart result so we return the correct error code no matter what the user chooses to do in the UI.
1285 // If a restart was encountered and we are not suppressing restarts, then restart is required.
1286 _restartRequired = (BOOTSTRAPPER_APPLY_RESTART_NONE != restart && BOOTSTRAPPER_RESTART_NEVER < _command.restart);
1287 // If a restart is required and we're not displaying a UI or we are not supposed to prompt for restart then allow the restart.
1288 _allowRestart = _restartRequired && (BOOTSTRAPPER_DISPLAY_FULL > _command.display || BOOTSTRAPPER_RESTART_PROMPT < _command.restart);
2271 // then exit (prompt for restart if required).
2273 // If a restart was required but we were not automatically allowed to
2450 // OnClickRestartButton - allows the restart and closes the app.
2453 AssertSz(_restartRequired, "Restart must be requested to be able to click on the restart button.");
3096 // When resuming from restart doing some install-like operation, try to find the package that forced the
3097 // restart. We'll use this information during planning.
3101 // Ensure the forced restart package variable is null when it is an empty string.