Sign in to follow this  
Followers 0
Bac83

Msgbox to wait until .exe finishes install

4 posts in this topic

Hi

Im coding a script that needs to wait for the Exe to finish before a msgbox pops up telling the user its complete and to move on, however when i run the following the msgbox pops up under the install as soon as the Java.exe is called, what i want to acheieve is for the msgbox to appear after the .exe has finished executing

Many Thanks

Run("\Apps\Java\jre-6u24-windows-i586-s.exe /s AgreeToLicense=YES IEXPLORER=1 REBOOT=Supress JAVAUPDATE=0")
    MsgBox(0, "Java", "Installation complete, move onto next application")

Share this post


Link to post
Share on other sites



Use the following function!

RunWait()

Share this post


Link to post
Share on other sites

If RunWait() doesn't work, as I know from experience sometimes it doesn't you can always use a If ProcessExists() and wait for the installer process to close also.

Share this post


Link to post
Share on other sites

Ahhhh so simple!

Thanks!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0