Friday, 8 November 2019

Create windows service from C# executable


How to register the service?

C:\Windows\Microsoft.NET\Framework\v4.0.30319>installUtil.exe "C:\xyz\FileHeaderService.exe"

How to uninstall the service?

C:\Windows\Microsoft.NET\Framework\v4.0.30319>installUtil.exe -u "C:\xyz\FileHeaderService.exe"

No comments:

Post a Comment