Sursa Microsoft To Install Your Service Manually: Installutil .Exe
Sursa Microsoft To Install Your Service Manually: Installutil .Exe
If youre using the Visual Studio command prompt, InstallUtil.exe should be on the system
path. If not, you can add it to the path, or use the fully qualified path to invoke it. This tool is
installed with the .NET Framework, and its path is %WINDIR
%\Microsoft.NET\Framework[64]\<framework_version>. For example, for the 32-bit
version of the .NET Framework 4 or 4.5.*, if your Windows installation directory is
C:\Windows, the path is C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe.
For the 64-bit version of the .NET Framework 4 or 4.5.*, the default path is
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe.
3. Sometimes, 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.