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

probably an easy question

How can I prevent an install/uninstall if a given executable is active?
Labels (1)
0 Kudos
(1) Reply
J_anitha
Level 8

Before starting installation\uninstallation, you can use the following APIs to check if the executable is running:
EnumProcesses()
OpenProcess()
EnumProcessModules()
GetModuleFileNameExA()
0 Kudos