Jump to content

Launching Multiple Apps without Closing


Recommended Posts

Hello,

Autoit newb here! I am trying to launch 2 different apps, in any order, without Autoit closing after script launch. I have 2 different vbscripts I am launching. One compiles a .WSI, and the other installs the MSI. I can launch either one successfully, but the GUI closes. I want to click either the BUILD or RUN button and run the respective script, but have the GUI still open.

I modified the app launcher script available on this site with the following:

Func APP_1(); Build and/or Install MSI

If $msg = $BUILD Then

RunWait("wscript.exe c:\compile.vbs", "")

Else

EndIf

If $msg = $RUN Then

RunWait("wscript.exe c:\install-MSI.vbs", "")

Else

Endif

EndFunc

Any ideas?

Thx

Link to comment
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
 Share

  • Recently Browsing   0 members

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