This commit is contained in:
ssu%netscape.com 2000-05-15 20:42:12 +00:00
Родитель e0f2d9b660
Коммит a69bec9cbe
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -891,14 +891,13 @@ RunInstaller()
WaitForInputIdle(pi.hProcess, 3000); // wait up to 3 seconds
if(dwMode != SILENT)
{
ShowWindow(dlgInfo.hWndDlg, SW_HIDE);
DestroyWindow(dlgInfo.hWndDlg);
}
// Wait for the installer to complete
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(pi.hProcess);
DestroyWindow(dlgInfo.hWndDlg);
// Delete the files from the temp directory
EnumResourceNames(NULL, "FILE", (ENUMRESNAMEPROC)DeleteTempFilesProc, 0);