Service won't stop

Got a problem you cannot solve? Try here.
hajnie
Posts: 9
Joined: Tue Oct 17, 2006 5:49 pm

Service won't stop

Postby hajnie » Fri Nov 03, 2006 4:38 pm

I need to stop a service before uninstall. This service is mine and I want to stop it and have the uninstall continue so that it deletes all of the installed files, including the service executable.

I use a ControlService to stop on uninstall and wait for completion (and have also tried stop on install/wait) and neither work. I moved these statements directly *before* the ApplyInstall, ApplyUninstall.

These statements do work for another service that I tried but not mine. Yes, mine can be stopped fine from ServiceManager or script, etc.

What does happen, however, is that the uninstall removes my service executable even though the service is still running (I don't know how it does this). After uninstall I can go to ServiceManager and stop the service with no problem.

Very strange, any ideas?

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 36 guests