Manage Pre- and Post-processing Scripts
Overview
This section provides instructions on using the BizTalk Server Administration console or the BTSTask command-line tool to manage pre- and post-processing scripts. You can create a script that you want to have run when a BizTalk application is imported, installed, or uninstalled (removed), and then add the script to the application. When you add a script, you specify whether it is a pre-preprocessing script, which runs before import, installation and after uninstallation, or a post-processing script, which runs after import or installation, and before uninstallation.
If you select the script when exporting the application, the script is included in the .msi file for the application. When you install, uninstall, or import the application, the script automatically runs, depending on how you have written the script. For more information about creating and using scripts, see Using Pre- and Post-processing Scripts to Customize Application Deployment.
Note
You can use Microsoft Windows Management Instrumentation (WMI) Object Model to create and run scripts that automate administrative tasks. For information about using WMI, see the WMI Class Reference in the UI guidance and developers API namespace reference.