Page 1 of 1

Terminate Process: Must Have!

Posted: Wed Dec 22, 2010 11:04 am
by pointeman
I'm finding it impossible to uninstall a program still running in memory. I can use "Terminate Program", but it doesn't kill the "Process". I would like to completely remove the entire app folder (Program Files\our-company\our-app) upon uninstall, but I cannot. I read a post here concerning a plugin to Terminate Processes, but It doesn't work on IA9. Help...

Re: Terminate Process: Must Have!

Posted: Thu Dec 30, 2010 2:08 pm
by pointeman
I will state again that IA needs a 'Terminate Process' method to kill running processess. :)

Re: Terminate Process: Must Have!

Posted: Thu Dec 30, 2010 2:25 pm
by giaviv
Dear pointeman,

Until a proper plugin is developed, have you considered calling "taskkill.exe /im PROCNAME"?

Aviv Giladi
InstallAware Support

Re: Terminate Process: Must Have!

Posted: Fri Dec 31, 2010 11:12 am
by pointeman
Q. Where do I get 'Taskkill.exe'?

Q. I will need to package 'Taskkill.exe' with the IA9 installer project?

Re: Terminate Process: Must Have!

Posted: Fri Dec 31, 2010 11:34 am
by giaviv
Dear pointeman,

taskkill is a system process. It comes with Windows and therefore you don't need to pack it with IA.

Best,
Aviv Giladi
InstallAware Support

Re: Terminate Process: Must Have!

Posted: Fri Dec 31, 2010 2:02 pm
by pointeman
Here is the proper syntax to 'Force' the process to close. Just using /IM was not enough it seems. Also, don't forget the process FULL name (with '.exe') as seen in Task Manager.

Run Program $WINSYSDIR$\taskkill.exe /F /IM Updater.exe