Friday, March 1, 2013

install services from Visual Studio Command Prompt

This sort of suggests that one would install a service (console app) at a server via Visual Studio Command Prompt (2010) for C# 4.0 stuff, and following this blog posting I installed Visual Studio 2010 on a server where I was not allowed to do so today. I am rolling back the install now. I was instead told to make an installer for the console app I need to deploy. It seems this is fairly common for console apps in ASP.NET. I just need to get on the other side of the learning curve. If I had used Visual Studio Command Prompt (2010), I would have run this command:

installutil yourproject.exe

 
 

To uninstall the same thing, I would use this command:

installutil /u yourproject.exe

2 comments: