Windows Service

From Logic Wiki
Jump to: navigation, search


Installing service :

C:\Service>"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" Scheduler.exe

Uninstalling service :

C:\Service>"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" -u Scheduler.exe


https://docs.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer


How to call a WebAPI from Windows Service

Get Windows Service Name From App.Config In Installation


sc create [servicename] binpath= [path to your exe]
[path to your exe] has to be full path and don't forget the space after binpath=