Alex Ong (twitter: ong_a) and I (twitter: nigelfds) managed to hack around around the GO server install for windows and get a hands off scripted install working.
Using powershell as administrator:
PS c:\downloads> .\go-server-12.2.2-15235-setup.exe /S /D="C:\Program Files (x86)\Go Server"
(the /S is silent install, the -D is the path to install to.)
That installs the server but not the service (It should though). To install it as a service:
PS C:\Program Files (x86)\Go Server> cruisewrapper.exe -it .\config\wrapper-server.conf
(command line help for the cruisewrapper is pretty good.)
At this point you have a service that will not start. Turns out the service depends on a system environment variable.
PS C:\Program Files (x86)\Go Server> [Environment]: etEnvironmentVariable("CRUISE_SERVER_DIR", "C:\Program Files (x86)\Go Server", "Machine")
That should allow everything to work.
Comments
4 comments
We also found that installations through this route do not setup firewall rules.
To install firewall rules via powershell, for GO see Tom Hollanders firewall rule function (http://blogs.msdn.com/b/tomholl/archive/2010/11/08/adding-a-windows-firewall-rule-using-powershell.aspx)
to add 8153 and 8154 for service "Go Server"
I've tried the above suggestions using Thoughtworks Go Server version 14.3.0-1186 , however i cannot get 'Go Server' service to start. If I uninstall it and use the interactive installer, it works fine. I ensured the CRUISE_SERVER_DIR env var exists as well.
Hi John HTran,
This forum is not monitored often, any more, and is closed for new topics. You should probably use the go-cd google groups mailing list or the gocd project on GitHub. The website of Go is now: http://go.cd.
Regarding this, there was never a silent install of Go documented, I believe. Someone found out how to do it, and posted it here. I'd look at the install.log file in C:\Program Files (x86)\Go Server and see what is (not) happening when you run it in silent mode. But, I wouldn't be surprised if it doesn't work, since it isn't a documented, supported feature.
Cheers,
Aravind
I meant silent install of Go Server. The agent has a silent install.
Please sign in to leave a comment.