Skip to content

Commit

Permalink
Allow reboot message popup in passive UI only
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbar committed Feb 29, 2024
1 parent 5e0362f commit 8b72b37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ class CWixStandardBootstrapperApplication : public CBalBaseBootstrapperApplicati
{
// If a restart was required but we were not automatically allowed to
// accept the reboot then do the prompt.
if (m_fRestartRequired && !m_fAllowRestart)
if (m_fRestartRequired && !m_fAllowRestart && (BOOTSTRAPPER_DISPLAY_PASSIVE == m_command.display))
{
StrAllocFromError(&sczUnformattedText, HRESULT_FROM_WIN32(ERROR_SUCCESS_REBOOT_REQUIRED), NULL);

Expand Down

0 comments on commit 8b72b37

Please sign in to comment.