When I'm demoing InRelease, one of the questions that seems to come up a lot is "How can I perform a silent install of the InRelease deployer?" The deployer is the service that runs on each of your servers and is responsible for performing the installation steps that you specify. Since a deployer has to be installed on every server, it makes sense to want to be able to install it quickly and silently, especially if you have a lot of servers!
Luckily, InRelease does support silent installs, and it's very easy to do.
There are a few pieces of information you'll have to provide, of course. They are:
- [PortNumber] -- This is the port that InRelease uses for communication. The default value is 1000.
- [InReleaseServerName] -- This is the URL to your InRelease server.
- [InstallDirectory] -- This is the folder to which you'd like to install InRelease
- [Protocol] -- This is either HTTP or HTTPS
Once you have all of that information, all you need to do is run the following command from the command prompt:
msiexec.exe -i InCycleInRelease_X.X.X_Deployer.msi /qn ACCEPT=YES /L*v install.log INSTALL_DEPLOYER=1 WEB_PORT=[PortNumber] WEB_SERVERNAME=[InReleaseServerName] INSTALLDIR="[InstallDirectory]" WEB_PROTOCOL=[Protocol]
Now it’s easy to write a PowerShell script to install InRelease deployers on your servers! Once the deployers are installed, they’ll auto-update from your InRelease server automatically.