Terminate Process: Must Have!

Interested in developing new plug-ins? Got one to share? Post here!
pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Terminate Process: Must Have!

Postby pointeman » Wed Dec 22, 2010 11:04 am

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...

pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: Terminate Process: Must Have!

Postby pointeman » Thu Dec 30, 2010 2:08 pm

I will state again that IA needs a 'Terminate Process' method to kill running processess. :)

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Terminate Process: Must Have!

Postby giaviv » Thu Dec 30, 2010 2:25 pm

Dear pointeman,

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

Aviv Giladi
InstallAware Support
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: Terminate Process: Must Have!

Postby pointeman » Fri Dec 31, 2010 11:12 am

Q. Where do I get 'Taskkill.exe'?

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

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Terminate Process: Must Have!

Postby giaviv » Fri Dec 31, 2010 11:34 am

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
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: Terminate Process: Must Have!

Postby pointeman » Fri Dec 31, 2010 2:02 pm

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


Return to “Plug-In Development”

Who is online

Users browsing this forum: No registered users and 34 guests