Kill process that doesn't have a window.
Posted: Wed Oct 18, 2006 1:28 pm
How can I terminate a process at uninstall time that doesn't have a UI associated with it?
Home of The Next Generation MSI Installer
https://www.installaware.com/forums/
https://www.installaware.com/forums/viewtopic.php?f=4&t=1344
Gizm0 wrote:Well you are not lucky,i'm out of town and i don't have my InstallAWARE here, so i can create a script for you.. It's quite easy actually, you have to call an API to do it.. It's TerminateProcess and before that you have to get the process handle by it's process name. To do that you have to EnumProcesses ( read here -> http://msdn.microsoft.com/library/defau ... cesses.asp ) and get the PIDs and then using the pids to get the process name/handle.