This extension facilitates the deployment (not build) of BizTalk applications to server(s) with a private agent (deployment group members qualify). It started as a decomposition of the Randy Paulo's monolithic Install-BizTalkApplication PowerShell script into more granular tasks for greater flexibility and enhanced feedback within the scope of a Azure DevOps pipeline.
The BTDF Deploy/Undeploy tasks require artifacts built using the Deployment Framework for BizTalk (BTDF). For those unfamiliar, I recommend starting with Thomas F. Abraham's recently published Deployment Framework for BizTalk Visual Studio extensions.
-
BTDF Deploy
Deployment Framework for BizTalk btdfproj project target: Deploy.
-
BTDF Undeploy
Deployment Framework for BizTalk btdfproj project target: Undeploy.
-
MSI Install
Install any MSI using the command msiexec.exe /i [msi file]. Not limited to MSIs built by BTDF.
-
MSI Uninstall
Uninstall any MSI using the command msiexec.exe /x[InstallGuid]. Not limited to MSIs built by BTDF.
-
Terminate Suspended
Terminate suspended service instances and optionally save the relevant messages and metadata.
BTDF Undeploy will fail if there are any suspended service instances associated with the BizTalk application being deployed. This task terminates and (by default) saves the messages and metadata to disk for future reference.
- Terminate Suspended
- Save messages checked for production, unchecked for non-production.
- BTDF Undeploy
- MSI Uninstall
- MSI Install
- BTDF Deploy
For BizTalk applications referenced by other BizTalk applications. (i.e. projects B and C both reference project A)
- Terminate Suspended
- Save messages checked for production, unchecked for non-production.
- BTDF Undeploy C
- BTDF Undeploy B
- BTDF Undeploy A
- MSI Uninstall A
- MSI Install A
- BTDF Deploy A
- BTDF Deploy B
- BTDF Deploy C
A typical scenario for using these tasks is to define a single task group with Undeploy, Uninstall, Install and Deploy tasks.
Then use this task group in the deployment stages. A typical scenario is to use a deployment group for Non-MgmtDB deployments. In the following step you use an agent for the MgmtDB deploy.
- Deployment Framework for BizTalk Visual Studio extensions
- Deployment Framework for BizTalk (BTDF)
- Deployment Framework For BizTalk Documentation
- Understanding the BizTalk Deployment Framework – Introduction
- BizTalk ALM with Visual Studio Online
- BizTalk Application Deployment using BTDF and PowerShell