Sign in to follow this  
Followers 0
vienxu

How do I detect to see if the setup.exe is running

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

 

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