PDA

View Full Version : NT Service installed, but cann't be deleted after uninstall



NewsArchive
12-06-2001, 01:00 AM
After finishing the install, the Service was created.
But I found that the service is still there after the application was
uninstalled.

NewsArchive
12-06-2001, 01:00 AM
Did you stop the service first?


"woody" <woody_guo@hotmail.com> wrote in message
news:20011206152904.0606.WOODY_GUO@hotmail.com...
> After finishing the install, the Service was created.
> But I found that the service is still there after the application was
> uninstalled.
>

NewsArchive
12-06-2001, 01:00 AM
Did you stop the service first?


"woody" <woody_guo@hotmail.com> wrote in message
news:20011206152904.0606.WOODY_GUO@hotmail.com...
> After finishing the install, the Service was created.
> But I found that the service is still there after the application was
> uninstalled.
>

NewsArchive
12-06-2001, 01:00 AM
What I do is run 2 batch files.

1) The first one stops the service(s)

example code:

@echo off

echo stopping NSB Services...

echo stopping NSB Lock Service

net stop "NSB Lock Manager"

pause

2) The Second Uninstalls the service(s)

example code:

LockSvc /rr

Works pretty good for me. Hope this helps.

Marie

"Marie Tupps" <mtupps@nsb-us.com> wrote in message
news:3c0f7883@news.installshield.com...
> Did you stop the service first?
>
>
> "woody" <woody_guo@hotmail.com> wrote in message
> news:20011206152904.0606.WOODY_GUO@hotmail.com...
> > After finishing the install, the Service was created.
> > But I found that the service is still there after the application was
> > uninstalled.
> >
>
>

NewsArchive
12-07-2001, 01:00 AM
Thanks Marie. I think I know what you mean. But my question is, I hope
that the service will be deleted automaticly when I uninstall the
other files. I do not want to delete the service by hand and then run
the uninstallation.

On Thu, 6 Dec 2001 12:32:23 -0500
"Marie Tupps" <mtupps@nsb-us.com> wrote:

> What I do is run 2 batch files.
>

NewsArchive
12-07-2001, 01:00 AM
The service should be uninstalled automatically, though you *probably* need
to create a Service Event in the Advanced Settings for a component to stop
the service first. I have not done a lot of experimentation on this, but it
should automatically uninstall anything that gets installed...let me know if
you are seeing other behavior and I will take a look at this.

Regards
David Thornley

"woody" <woody_guo@hotmail.com> wrote in message
news:20011207135203.2318.WOODY_GUO@hotmail.com...
> Thanks Marie. I think I know what you mean. But my question is, I hope
> that the service will be deleted automaticly when I uninstall the
> other files. I do not want to delete the service by hand and then run
> the uninstallation.
>
> On Thu, 6 Dec 2001 12:32:23 -0500
> "Marie Tupps" <mtupps@nsb-us.com> wrote:
>
> > What I do is run 2 batch files.
> >
>

NewsArchive
12-09-2001, 01:00 AM
Hi, David, I solved the problem with your help, Thank you very much.
The mistake I made is that I hadn't a Service Event. I thought I
did not need such an event and the service will also be deleted
automaticly. So simplicity.

On Fri, 7 Dec 2001 12:48:07 -0600
"David Thornley" <davidt@installshield.com> wrote:

> The service should be uninstalled automatically, though you *probably* need
> to create a Service Event in the Advanced Settings for a component to stop
> the service first. I have not done a lot of experimentation on this, but it
> should automatically uninstall anything that gets installed...let me know if
> you are seeing other behavior and I will take a look at this.
>
> Regards
> David Thornley
>

caoxiangyu
02-01-2006, 03:04 PM
Hey, I am a new guy. I have the same problem-can't uninstall the service automatically. Now my question is: how and where can I add the Event?

It seems even I don't start the service, which mean the service is not runing during uninstall, it can't be uninstall either.

Thanks a lot!