Friday, February 17, 2012

Running InstallUtil unattended

The following command runs InstallUtil.exe unattended and passing username and password:

InstallUtil.exe /unattended /username=<domain\username> /password=<password> Service.exe

IMPORTANT NOTE: The switches (username, password, etc) must be placed before the name of the service to be installed, otherwise the switches will not be used. I made this mistake so I initially thought that these switches were not working :)

Use the /? or /help switch to learn more about the other options that can be used in installing the service

InstallUtil.exe /? Service.exe

*joychua97

No comments:

Post a Comment