Marthax Posted May 21, 2005 Posted May 21, 2005 Hey you guys!When my GuiRunOnce runs at windows logon it starts Xplode that installs programs. The first program executes and it nearly reaches its' end when GuiRunOnce executes the next thing on the list. This means that Xplode and my next thing executes at once which is not what I want. How do I make GuiRunOnce wait for Xplode to end? I know that you could use /wait with RunOnceEx, but what do with GuiRunOnce?Thanks in advance!Marthax
tguy Posted May 21, 2005 Posted May 21, 2005 Not that familiar with XPLODE but maybe you could create a batch file, launched by GuiRunOnce, that calls sleep.exe for say 60 seconds then proceeds to execute the process which launches XPLODE.Maybe give it a try.Good Luck.
Br4tt3 Posted May 23, 2005 Posted May 23, 2005 u can wrap the .exe installation in a .vbs script which u have better control of the flow from the installation. The thing u r looking for is:Ex.Set WshShell = WScript.CreateObject("WScript.Shell")Command = "%WINDIR%\system32\Calc.exe"WshShell.Run Command, 0, Truewhere the 0 checks if it is to visible and the True for the script for the process to finish before continue with the next step in tha process...It is always a mess to kick of another process from the native process driven vbs or batch... as some setup engines seems to "fire and forget"..Hope this solves it for ya..
Marthax Posted May 24, 2005 Author Posted May 24, 2005 thx for replying, but VB isn't an option for me as I don't know how to use it. Although, I did manage to solve this situation differently as the problem was a wrong syntax in the default Xplode *.xml file. I'll try to learn the VB language when I'll have some spare time as it seems to be a good and effective language. Thx again
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now