cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hh1234
Level 5

Check if app running

Within InstallShield 11 how do you check to see if an app is running and if it is close it? Example: Is calc.exe running? If yes kill process calc.exe

Thanks.
Labels (1)
0 Kudos
(2) Replies
MSIYER
Level 8

You can always use Win APIs. Either a C++ dll Custom Action(CA) or Installscript CA that uses Kernel32.dll can be employed.

Go through this:
http://msdn.microsoft.com/en-us/library/ms684834(v=vs.85).aspx
0 Kudos
IlkkaV
Level 7

The ISGetObj + InstallScript approach described at http://community.flexerasoftware.com/showpost.php?p=458134&postcount=7 is working for me also in IS 2011. That script should be a good starting point.
0 Kudos