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
- :
- probably an easy question
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
Jan 04, 2010
04:51 PM
probably an easy question
How can I prevent an install/uninstall if a given executable is active?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 05, 2010
01:33 AM
Before starting installation\uninstallation, you can use the following APIs to check if the executable is running:
EnumProcesses()
OpenProcess()
EnumProcessModules()
GetModuleFileNameExA()
EnumProcesses()
OpenProcess()
EnumProcessModules()
GetModuleFileNameExA()
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)