Install Windows Service with Recovery action to Restart

前端 未结 4 750
离开以前
离开以前 2020-11-29 18:40

I\'m installing a Windows Service using the ServiceProcessInstaller and ServiceInstaller classes.

I\'ve used the ServiceProcessInstal

4条回答
  •  盖世英雄少女心
    2020-11-29 18:52

    I found the following project which takes care of these settings, using only code and Win API calls:
    http://code.msdn.microsoft.com/windowsdesktop/CSWindowsServiceRecoveryPro-2147e7ac

提交回复
热议问题