Installing build agent installer from command line script


Our team would like to automate the installation of build agents on Windows OS machines. So we would like these agents to be installed as Windows Services.

Question: How can I install the build agent using the 'agentInstaller.exe' installer from a script and without any UI interaction at all. I was imagining a installation similar to Visual Studio where we can pass bunch of parameters to the exe and they get used.


1 comment
Comment actions Permalink

Hello Kiran,

You can do that by unpacking agent from it's .zip distribution (available from the server) and register Windows service via bin\service.install.bat if necessary. For more details see the section.


Please sign in to leave a comment.