McAffee uninstall problem
Hi,
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..
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
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
dj_xest
19 years ago
Posted by:
charan
19 years ago
Hey thanks for ur response...
I tried those before but i can't stop the service using those command..
I notice that in the task manager view.. the process FireSvc.exe is listed, username of which is SYSYTEM. If i end the process i have a chance of uninstalling my application, but no command (sc, net) is helping me do that. However Taskkill helped me kill the process, but as i told u once i embed the script into my msi, the command doesn't kill the process..
I tried those before but i can't stop the service using those command..
I notice that in the task manager view.. the process FireSvc.exe is listed, username of which is SYSYTEM. If i end the process i have a chance of uninstalling my application, but no command (sc, net) is helping me do that. However Taskkill helped me kill the process, but as i told u once i embed the script into my msi, the command doesn't kill the process..
Posted by:
dj_xest
19 years ago
Charan, you can try this vbscript..
------------------------------
On Error Resume Next
Dim WshShell, Return
Set WshShell = CreateObject("WScript.Shell")
Return = WshShell.Run("c:\windows\system32\wbem\wmic.exe process where name="FireSvc.exe" call terminate",true)
Wscript.Quit
--------------------------
------------------------------
On Error Resume Next
Dim WshShell, Return
Set WshShell = CreateObject("WScript.Shell")
Return = WshShell.Run("c:\windows\system32\wbem\wmic.exe process where name="FireSvc.exe" call terminate",true)
Wscript.Quit
--------------------------
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.