Assume that you have the .NET Framework installed on your machine and you wish to install Windows Service via command prompt in Windows. In this case , you can use install the service using installutil.exe as shown below.
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" "c:\abundantcodeService.exe"
Incase you have a 64 bit version of the framework , ensure that you refer to the right path.
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe" "c:\abundantcodeService.exe"
Leave a Reply