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

Find and Kill the running Process before Uninstall in InstallAnywhere

Find and Kill the running Process before Uninstall in InstallAnywhere

Summary:
This article shows how to find and kill the running process before Uninstall

Steps :

1. Create New Project
2. Goto Sequence and click Pre-Uninstall
3. Add Execute script/Batch file custom action query process script/command to find the process,kill1.JPG

4. To Make sure the process details add the show message dialog with this $EXECUTE_STDOUT$Kill2.JPG

5. Add the Execute Script/Batch file custom action to kill the process with name/PIDkill3.JPG

6. Build and run the project.

7. Here is the successful outputs of Find and kill process,

kill4.JPGkill5.JPG

 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jan 11, 2023 12:38 AM
Updated by:
Contributors