Wednesday, December 21, 2016

Steps to install the windows service.

First build service in the release mode then copy the path where the service has been created inside the bin under the release folder

ex:- E:\Test\WindowsService\bin\Release 

you will find here the <service name>.exe file  that is your windows service if you are not able to see the <service name>.exe file there then you have to clean and rebuild your solution and then check it again.
·         Then open the Developer Command Prompt as the administrator locate the path  

ex:-  E:\Test\WindowsService\bin\Release>

·         Then type the command installutil.exe <service name> and press enter

No comments:

Post a Comment

Git Commands

Git Version   To check the git version Git -v       Git Clone To clone the repository, use the following command: Git clone [u...