Using Visual Studio Command Prompt In command prompt windows: Register: installutil YourServiceNameWithFullPath Unregister: installutil YourServiceNameWithFullPath /u For example, I created a service named MyService.exe and put in the folder D:\Projects\Services Register: installutil D:\Projects\Services\MyService.exe Unregister: installutil D:\Projects\Services\MyService.exe /u
Coding is one of my job from 2001. I have written codes for many projects but I cannot remember all of them. I hope this blog help me do that.