Tuesday, January 1, 2019

Install Uninstall Windows Service

From start menu select the "Developer Command Prompt for Visual Studio". right click on the menu item and run as administrator.



In the command prompt change the working directory to the bin/Debug folder of the Windows service Solution. Then give the command to install.

To install:

 installutil.exe MyWindowsService.exe

To uninstall:

installutil.exe /u MyWindowsService.exe

No comments:

Post a Comment