Removing a service

When developing a service you will probably find yourself installing and uninstalling it repeatedly. Sometimes the uninstall code created by a visual studio setup project fails, and I cannot install a new service over the top of the old one by changing the product code (any suggestions?).

Although you can try deleting registry entries to remove a service this has proved unreliable for me. Instead I tend to use the Service Installation Wizard (srvinstw.exe) that comes with the Windows Resource Kit to uninstall the offending version of the service at that point. Despite its name this wizard has both install and remove options and offers you a pick list of services to find the offending item from.

Just another ‘note to self’


This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s