Cannot uninstall windows service - uninstaller asking for setup files

D

DC

Hi,

I have developed a windows service in C# and I am using a Visual Studio
2003 installer to install it.

When I am updating the service, I usually stop the service in control
panel, close control panel (if I don't close, the service will often
not properly uninstall), use software uninstallation to remove the
service and install the new version via setup.exe.

I have done this a hundred times without problems, and suddenly I am
getting prompted for the *.inf file of the installation disk when I am
uninstalling the serivce. I can then provide a path to the service
installation package but I will be prompted again. I cannont uninstall
the service anymore.

Any ideas how I can get around this? TIA for any help.

Regards
DC
 
A

Andy

You could try installutil /u myservice.exe. That should remove the
service from the Services list; you can then delete the folder.

HTH
Andy
 

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