Deployment in BizTalk Server 2006 can often be a painstaking
and manual process due to the different types of artifacts that are typically
part of a BizTalk application. A complex BizTalk application may include
BizTalk assemblies, .NET assemblies, web services, windows services, batch
scripts and a set of bindings for each environment. The manual deployment of
these artifacts is very tedious and prone to error. Most IT shops end up
creating a detailed deployment guide to formalize the manual process, but this
is not necessarily the most efficient method.
In BizTalk Server 2006, BTSTask provides scripting options
that can be used to automate the packaging and deployment of most artifacts
common to many of the BizTalk solutions. Moreover, with the help of VBScript
and WMI scripts the deployment of non-BizTalk artifacts, such as web services,
windows services or other dependencies, can be deployed as part of executing a
single MSI executable. In this article we will explore how we can use BTSTask
to automate the creation of a single deployment package that can be used to
deploy all BizTalk and non-BizTalk artifacts to multiple target environments.