fixing bug 37910 and 39105

git-svn-id: svn://10.0.0.236/trunk@69851 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ssu%netscape.com
2000-05-15 20:42:12 +00:00
parent dfb6d7bd83
commit 370857c10c

View File

@@ -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);