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)
No comments:
Post a Comment