To install your service manually
Run InstallUtil.exe from the command prompt with your project's executable as a parameter:
installutil <yourproject>.exe
This tool is installed with the .NET Framework, and its path is
%WINDIR%\Microsoft.NET\Framework[64]\<framework_version>.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
To uninstall your service manually
Run InstallUtil.exe from the command prompt with your project's output as a parameter:
installutil /u <yourproject>.exeSometimes, after the executable for a service is deleted, the service might still be present in the registry. In that case, use the command sc delete to remove the entry for the service from the registry.
The syntax used to delete a service is this:
sc delete ServiceName
sc delete “Adobe LM Service”
Now if you use the F5 key to refresh your Services list, you’ll see that the service is gone.
Comments
Post a Comment