Difficulty Removing/Installing a Windows Service

E

EagleRed

I am developing a Windows service using VS2008. I cannot install new
versions of the service via the setup project in the solution. I get an
error message that the service is already installed. When I run the
uninstall option in the context menu of the setup project I get an error
stating it cannot find the associated assembly.

In searching the forum I found an entry suggesting I delete the registry
entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also ran
the sc utility to remove it. It does not now show in the services list but I
still cannot install the service. Somewhere there is an indication it is
still present.

Any ideas on how to completely remove the service or to force an
installation of the new service version?

As always any input is greatly appreciated.

Thanks,
Eagle
 
E

EagleRed

Thanks. I'll take a look at this. I noticed you mentioned Orca. Could this
have changed in VS2008 before release?
 
W

Wilson, Phil

Not sure what you mean exactly, but Orca is an MSI editing tool in the
Windows SDK (install from Orca.msi). You might be thinking I mis-spelt
Orcas, the codename.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"(e-mail address removed)"
 
P

Paul

This can happen on servers when you uninstall while other users are logged
in. Thought MS had actually solved it years ago. There is a complete set of
instructions for complete manual removal somewhere on MSDN but like I said
it is so long since I've seen this problem that I could not point you there
anymore sorry.

You may have checked HKey_Local_Machine but check the user profiles too just
in case someone failed to click everyone????


"(e-mail address removed)"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top