.Net Windows Services and InstallState file - is it really needed?

前端 未结 3 695
终归单人心
终归单人心 2021-02-07 09:48

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

3条回答
  •  我寻月下人不归
    2021-02-07 10:24

    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

提交回复
热议问题