!= : Bang Equals ||

Subscribe (?) Subscribe to RSS
A blog about this that and the other thing.

Stubborn Services.

Published on June 20th, 2008 in No Comments »

I’ve been developing an installer for an application which requires a number of windows services to be installed. I’ve never done anything with services before so as is to be expected something went wrong and I needed to un-install the services.

The logical thing to do would be to just un-install them using add remove program. This worked, kind of… The services were still there and I couldn’t reinstall my new version because the services were still listed.

Much Googling resulted in my finding out about sc the Service Controller application. It’s apparently part of the Windows resource toolkit, so it wasn’t installed on my machine by default I discovered when I got the following error message:

'sc' is not recognized as an internal or external command

You can get it here:

ftp://ftp.microsoft.com/reskit/win2000/sc.zip

Works a like a charm just unzip it and type in:

sc.exe delete <Service name here> 

And hey presto it’s gone.

Welcome to !=

Published on November 5th, 2007 in No Comments »

Welcome to !=, this site will cover issues in software development, gaming, usability and any combination of the above.