How do I install a C# Windows service without creating an installer?

c#, windows-services

Solution

You can use installutil.

From the command line:

installutil YourWinService.exe

This utility is installed with the .NET Framework

Problem

Does anyone know if there is a way to install a Windows service created in C# without making an installer?

Original source