I have to stop a service named FireSvc.exe ( Its a system process) to uninstall my application McAffee Desktop Firewall 8.0. I wrote a custom action using (VBScript )Taskkill command but the script works fine outside the msi. Once i embed the custom action (VBscript) into MSI,it doesn't kill the process. PLz if any one has knowledge how to go abt it plz help me out..

If i don't kill the the process i get Error 1306 , another application is accessing the file 'xx'
So can't delete the file..

Plz help me out..
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Hi Charan,

Any particular reason you aren't using the Service control to stop the service? Or even, if you must use a command line, using a net stop command?

I would say, if you have to kill the task rather than use net stop or the service control table, that its running in a context that doesn't have rights to terminate the process - are you running it in the Deffered System context?

Hope that helps


Answered 04/11/2005 by: plangton
Second Degree Blue Belt

Please log in to comment
Since the services username are SYSTEM, I can't use net/sc to start/stop services..

Is there any script that works inside an msi to kill a system service..
Answered 04/12/2005 by: vin_hegde_94
Senior Yellow Belt

Please log in to comment