Author: mladen.turk(a)jboss.com
Date: 2008-04-08 06:46:58 -0400 (Tue, 08 Apr 2008)
New Revision: 1531
Modified:
trunk/build/install/installer/main.c
Log:
Wait for the installer to finish
Modified: trunk/build/install/installer/main.c
===================================================================
--- trunk/build/install/installer/main.c 2008-04-07 15:43:50 UTC (rev 1530)
+++ trunk/build/install/installer/main.c 2008-04-08 10:46:58 UTC (rev 1531)
@@ -1165,7 +1165,7 @@
dwHtmlHeight = (DWORD)atoi(optarg);
break;
case 'u':
- bMakeTemp = FALSE;
+ bMakeTemp = !bMakeTemp;
break;
case 'x':
bRunScript = TRUE;
@@ -1232,7 +1232,7 @@
}
if (bShowSplash) {
ShowSplash("/HTML_SPLASH", dwSplTimeout);
-
+ Sleep(200);
}
/* Standard Install */
@@ -1319,6 +1319,7 @@
szDest,
NULL);
if (RunChildProcess(szCmdExe, szCmdLine, szWorkDir, &prInfo)) {
+ WaitForSingleObject(prInfo.hProcess, INFINITE);
r = 0;
}
else
Show replies by date