Hi,
Could somone please help me to solve the below scenario:
Task: To stop the uninstallation of the application, if the process is runnng/if the application is open.
Description:
I have a program, which is installed and currently open and the corresponding application.exe is listed in the Task Manager-Processes.
Now when user tries to uninstall the same application, it should stop the uninstallation,since the application is open.
Here, by checking AI_PROCESS_STATE, we can find whether the .exe is in running or in stopped state.
But, how can we stop the uninstalltion after detecting the application is open?
Thanks in advance.