|
by Christophe via Christophe on 3/1/2009 6:47:58 PM
I had to install a Windows service on several servers this week (about 30 servers …). I wanted to do it using a simple batch file, and installing the service silently.
Unfortunately, when using InstallUtil to install a Windows service, you can’t specify the credentials used by the service to logon. You can’t install your service with this kind of command line:
InstallUtil.exe MyService.exe /username=MyUserName /password=Password
I found a workaround using the OnBeforeInstall method of the Ins
... [ read more ]
|