How to host a window service using installUtil.exe.


Steps to host window service using installUtil.exe

  1. Go to installUtil.exe path C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
  2. Build Application in Release mode.
  3. Open VS2012 x86/64 Native Tool Command with Run as Administrator
  4. cd (Copy+Paste InstallUtil.exe path) Enter
  5. Application Path Enter