Orsi Posted March 9, 2006 Posted March 9, 2006 hey, i'm calling a Setup.exe file to begin an silent Adobe Production Studio installation and it works perfectly, except right after Windows executes the setup.exe file and it call it's .msi children, Windows starts the next item in the RunOnceEx list without wait setup.exe complete it's taskthe major problem about it is that Production Studio needs a lot of time to complete it's full install, so while it's running, others .msi based installation are not allowed to runit there anyway to solve this?maybe something like"if setup.exe == running { wait }else goto next_item
Scubar Posted March 9, 2006 Posted March 9, 2006 RunOnce should really wait on its own before calling the next setup. you can try using sleep.exe or just pinging an unobtainable ip with a timeout of a certain amount of time.
InViSibLe Gr Posted March 9, 2006 Posted March 9, 2006 (edited) i guess that "setup.exe" is a self extracting exe right?when the "setup.exe" is finishing extracting , the process "setup.exe" does not existsand runonce continue to the next programto make it wait you could make a litlle autoit script to run after setup.exeand right this :ProcessWait("setup.msi")ProcessWaitClose("setup.msi")Exitsave this as "wait.au3"then comiple this as "wait.exe" and add it in the batch file right after the setup.exe :start /wait %systemdrive%\install\wait.exethis script will not stop untill the given process finishso ruonce will not continue to the next before this one finishesi thing its better from sleep cause you dont know how much time to addi have done this and its working very nicetry it and you'll be ok Edited March 9, 2006 by InViSibLe Gr
Orsi Posted March 9, 2006 Author Posted March 9, 2006 ScubaSteve > thanks, the problem now is I'm using XPlode to the RunOnce processes and, for some reason, sleep.exe don't seem to be working...InViSibLe Gr > setup.exe isn't self extracting so its process keeps running until all Production Studio softwares are being installed, that's why I don't understand exactly whats going now... I'll try to see the %temp% folder to see if setup.exe launches another setup.exe file or something
InViSibLe Gr Posted March 9, 2006 Posted March 9, 2006 you can run the taskmanager before starting setup.exe and see whats going onif another process is launching after setup.exe you can make it with my way very easyadd the process name inside the (" ") and runonce will wait
Orsi Posted March 10, 2006 Author Posted March 10, 2006 the "sleep method" is working perfectly now, the problem I had with it was Windows "waking up" too early, so I had to increase the sleep time to 45 minutes (yes, Adobe Production Studio Premium takes a lot of time to install everything)so, tks again
BoardBabe Posted March 10, 2006 Posted March 10, 2006 (edited) You can solve it easily like you describe in your first post using AutoIt to run setup and wait for both processes to close before proceeding.See autoit script collection and how I did this with Nero 7.0.8.2. Edited March 10, 2006 by BoardBabe
bigfatroundguy Posted June 6, 2006 Posted June 6, 2006 BoardBabe, I found your entry in the AutoIt script collection but could not find an attached Nero 7.8.8.2 file. Would you point me to it or post it as I continue to have a need to pause installation awaiting the completion of a setup.exe command with a number of embedded msi files. thx
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now