How to Install Windows Service Using Command Prompt

We recently worked on a project were we needed to create a Windows Service using Visual Studio 2010. This way our background app would run no matter what. Reboot, logged in, not logged in, it doesn’t matter, its running.

So here is how to install your Windows Service.

1. Bring up the cmd prompt.

2. We used the .Net 4.0 framework so change directories –  cd C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319

3. InstallUtil  c:\Application Folder\Bin\Release\FileName.exe

4. Then you will see a message “The Commit phase completed successfully” “The transacted install in complete”

Now your all done and ready to start the service by going to the Services section.

Click Here to Leave a Comment Below 0 comments
buy clomid buy clomid online