Thursday, July 21, 2011

"Set Service Login" window during service installation from InstallUtil.exe

Often a prompt window named "Set Service Login" appears during windows service installation through "installUtil.exe" asking for user authentication

Best way to ignore it is by modifying properties in installer.cs class

-Change Account in ProcessInstaller to 'LocalSystem'
-And Start type in ServiceInstaller to 'Automatic'

It will work fine than.

1 comment: