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