Skip to content

Commit d978bc7

Browse files
committed
Don't broadcast a dead message that blocks the process from exiting
1 parent fcebaf2 commit d978bc7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/windows/installer/WiXBalExtension/wixstdba/WixStandardBootstrapperApplication.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2183,12 +2183,6 @@ class CWixStandardBootstrapperApplication : public CBalBaseBootstrapperApplicati
21832183
LOC_STRING* pLocString = NULL;
21842184
m_state = state;
21852185

2186-
// If we just finished the installation, we need to broadcast an
2187-
// WM_SETTINGCHANGE message so that CMD picks up the new path
2188-
if (WIXSTDBA_STATE_APPLIED == m_state) {
2189-
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)L"Environment", SMTO_ABORTIFHUNG, 5000, NULL);
2190-
}
2191-
21922186
// If our install is at the end (success or failure) and we're not showing full UI or
21932187
// we successfully installed the prerequisite then exit (prompt for restart if required).
21942188
if ((WIXSTDBA_STATE_APPLIED <= m_state && BOOTSTRAPPER_DISPLAY_FULL > m_command.display) ||

0 commit comments

Comments
 (0)