This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Check if app running
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2011
03:48 PM
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.
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2011
04:19 AM
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
Go through this:
http://msdn.microsoft.com/en-us/library/ms684834(v=vs.85).aspx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2011
07:01 AM
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.