This post shows you How to Install a Windows Service using a Windows Command Prompt.
Search 'Command Prompt' from search box, then right click and select Run as Administrator.
Navigate to the installutil.exe in your .net directory, then install your service as the command below.
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe c:\your_service_name.exe
If you want to install a windows service you can type the command as shown below.
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe -u C:\your_sercice_name.exe
I hope so, through this article you can install a windows service using a windows command prompt (not the Visual Studio command prompt).