Jump to content

Recommended Posts

Posted

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 task

the 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 run

it there anyway to solve this?

maybe something like

"if setup.exe == running

{

wait

}

else

goto next_item


Posted

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.

Posted (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 exists

and runonce continue to the next program

to make it wait you could make a litlle autoit script to run after setup.exe

and right this :

ProcessWait("setup.msi")
ProcessWaitClose("setup.msi")
Exit

save 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.exe

this script will not stop untill the given process finish

so ruonce will not continue to the next before this one finishes

i thing its better from sleep cause you dont know how much time to add

i have done this and its working very nice

try it and you'll be ok

Edited by InViSibLe Gr
Posted

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

Posted

you can run the taskmanager before starting setup.exe and see whats going on

if another process is launching after setup.exe you can make it with my way very easy

add the process name inside the (" ") and runonce will wait

Posted

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 :)

Posted (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 by BoardBabe
  • 2 months later...
Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...