I\'ve got a number of managed code Windows Services for which we use the Frameworks InstallUtil tool to install into the service control manager. This tool creates a new file at
The file should be deleted by the uninstall process. If you are using a custom install action you should add it the uninstall process as well. A missing .installstate file will not prevent the service from being uninstalled.
http://adamhouldsworth.blogspot.com/2009/11/c-setup-installstate.html
http://support.microsoft.com/kb/934388