vienxu Posted June 27, 2005 Posted June 27, 2005 How do I detect to see if the setup.exe is running? The setup.exe is a subprocess of the ntaskldr.exe. Code below doesn't detect it. If ProcessExists("setup.exe") then MsgBox(0, "Running Program","setup.exe") else MsgBox(0, "Not Running Program","setup.exe") EndIf
GaryFrost Posted June 27, 2005 Posted June 27, 2005 Process might not exist yet when you are checking for it, start the program and ProcessWait("setup.exe") then you can do a while ProcessExists("setup.exe") sleep ( 1000 ) wend SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now