Jump to content

Recommended Posts

Posted

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")
Posted

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.

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
  • Recently Browsing   0 members

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