2. Change to the directory where the binaries are deployed
3. Execute the following: installutil MyService.exe
> cd C:\Projects\Builds\MyService
> installutil MyService.exe
> exit
2.- Second Approach
1. open a command prompt as administrator
2. change to the .NET Framwork 2.0 directory
3. execute installutil specifying the full service path
> cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727
> installutil C:\Projects\Builds\MyService\MyService.exe
> exit
If everything was ok, the service is installed and available in the service manager (service.msc)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiXhw_RNeLth8gi_zahIdsPMi7nOKctadhPDaoP10qwM3Bym3E0IBOcF1ec-DjpBOevn1RPv3EOLBf-a4yB5dFJB8OM7XiI3I9IfIYQkg8cdtSik9FqS_jVf1wgjsHFzWVZ_caAqJiTWIp/s400/ServiceInstaller.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEG6NTaN7vfPYboRsEXGBT6IH57gBj7MpXmDH7hyc8TJq0M0MJJCc3Z7s6wY7fe-7N8huWw0I1SCLGYKM1tTSZcwSEBLBgMdwTeEys8F3oT1BiB5FT1Pomnmre8fHPvs2yve2DnwDxpIiU/s400/services_msc.png)
No comments:
Post a Comment