/build/static/layout/Breadcrumb_cap_w.png

McAffe uninstall problem .. Error 1306

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

0 Comments   [ + ] Show comments

Answers (8)

Posted by: Siebrasse 15 years ago
Senior Yellow Belt
0
Hi,

I you ar using Wise for Windows Installer there is a services tab in the Installation Expert. There you can tell what services should do at deinstall.

It's simple:

click Add | Service Control
Type the name of the service.

Ive tested it with an dummy install. At install anly a text was placed. At de-install the spooler services was stopped.

Edwin
Posted by: charan 15 years ago
Orange Belt
0
I am using Installshield Devstudio 5.5

The services i am concerned with are of 'Service Type 1', those can't be mapped to service tables when i build ism. they have to be stored in registries n they will be active only after Rebooting the machine..

Since the processes spawn by services have imagename SYSTEM.
It can't be stopped/killed using NET/SC commands..
Posted by: sumarchana 12 years ago
Orange Senior Belt
0
Hi...

Did you solve this?? I have the same situation now....
Posted by: anonymous_9363 12 years ago
Red Belt
0
I imagine, with over 3 years having elapsed between today and the original post, that either the issue was solved or worked around.

- Please don't resurrect old threads.
- If you took the time to read other posts on the forum, you would have learned that you cannot just kill kernel services. Think about it...a system-protection program which could just be killed with TaskKill wouldn't be a great deal of use, would it? You need to uninstall, then reboot.
Posted by: sumarchana 12 years ago
Orange Senior Belt
0
VBScab,

I am just reading at the older posts before i could post a message cos that saves everyone's time.I am still on my way to solve the issue.

Anywayz i m not using taskkill to kill the services. During Uninstallation a file called LogFile00.dat is not getting removed it is held by ScreenAgent.exe running background. When i remove it manually i can unisntall the application.
I remved this file from the package. Its getting created in runtime and troubling uninstallation.
I am just trying with the following code..

strComputer = "."
strProcessToKill = "ScreenAgent.exe"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = '" & strProcessToKill & "'")
count = 0
For Each objProcess in colProcess
objProcess.Terminate()
count = count + 1
Next

wscript.echo "Killed " & count & " instances of " & _
strProcessToKill & "on " & strComputer
Posted by: anonymous_9363 12 years ago
Red Belt
0
Anywayz i m not using taskkill to kill the services. True, but you're still trying to kill the process, which you can't do in this case.
Posted by: sumarchana 12 years ago
Orange Senior Belt
0
True.. I coud not... can i control start or stop of services through registries?
I damn sure if i kill ScrennAgent.exe i can uninstall without any issues.
Posted by: sumarchana 12 years ago
Orange Senior Belt
0
I tried through regsitries manually by stopping services & rebooted the machine. Still the ScreenAgent.exe is running and blocking the roads.......
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ