I have a application that i need to make sure is closed when i do an uninstall. Basicaly, nothing happens is this app is running. Is tehre a way i can see if a process is active and then abort setup with a msg box saying close the application prior to uninstall?
My app is called ppdmm.exe
Its located in TARGETDR + "\\ppdmm\\ppdmm.exe"
I use an OnEvent setup, and am a newb.
Please let me know the simplest way to accomplish this.
I have spent the last 5 hours trying to get FINDWINDOW and the below scripts to function in my script.
I have looked at most of the options on this site and have found a few good ones, i just cant get them to work.
Here are the ones i cannot seem to get to work.
Code Sample |
CheckRunning: if Is (FILE_LOCKED, svExe) then nResult=AskYesNo (svExe + " is currently running. Please shut it down before continuing.\n" + " Click Yes to continue, No to abort installation." , YES ); if nResult = NO then abort; endif; // loop back to check again to make sure they have shut it down goto CheckRunning; endif |
&
http://www.installsi.../en/isp_ext.htm
down on the shutting down applications.