When I was asked whether BizTalk could be silently installed I assumed it could be but had to do some investigation. This is when I stumbled across this page: http://support.microsoft.com/kb/971655
Initially we thought about silently installing all components and then just configuring the features that we needed (No EDI). This was a good idea until we got an error message indicating that the install could not continue because we didn't have VS 2008 SP1 installed. The purpose of these scripted deployments were to target our Test/Prod BizTalk and SQL farms. Since these servers would be used in Test and Prod we did not want VS 2008 installed.
The next option was using the /S switch which allows you to provide a configuration file that would include all of the features you want to install. The problem is that the document is not real explicit about where you would find this configuration file or the format that the file needs to be in.
After some pointers from Matt Milner, Alan Smith and Bill Chesnut I was able to get this working.
Here are the steps that you need to follow in the event that you have a farm where you want installations to be consistent across the farm:
- Download Pre-requisite Cab files. (Thiago has the links on his blog)
- Mount Media
- Install BizTalk on initial node
- Configure BizTalk on initial node
- Export configuration file based on initial configuration
- When you open the file, you will find a lot of information but the key information that you need are in the "InstalledFeature" tags.
- Now that you have this file, you can use it as in input to your silent install command. Here is the command that I used:
x:\Setup.exe /CABPATH "x:\temp\BTSRedistW2K8EN64.cab" /S x:\ScriptedInstallDir\ExportedConfigurationFile.xml /L c:\temp\BizTalkInstall.log /FORCERESTART /INSTALLDIR "x:\program files\Microsoft BizTalk Server 2009"
Note: I initially tried the install using the the /QUIET switch but was then prompted with an error indicating that I could not provide a configuration file and use the "Quiet" switch. This wasn't the end of the world for me as an interface is displayed but it does not require any action - no buttons or prompts to click through.