Starting version 8.9.03, BMC Server Automation is renamed to TrueSight Server Automation. This space contains information about BMC Server Automation 8.9.02 and previous versions. For TrueSight Server Automation 8.9.03 and later releases, see TrueSight Server Automation 8.9.

Walkthrough: Packaging applications with BLpackages

BMC BladeLogic Server Automation (BSA) makes it easy to package and deploy software applications. This topic walks you through the process.

The topic includes the following sections:

The video at right demonstrates the steps in packaging an application with a BLPackage.


Most organizations need to deploy a range of software to the servers they provision. For example, you may need to deploy software used for monitoring, backup, security agents, server hardening, patching, and compliance validation. Sometimes these deployments can take days when performed manually. 

Automating software deployment can provide substantial time savings, especially for complex software packages. There are many types of packages that you can deploy, which vary across the range of operating systems supported by BSA. This walkthrough shows how to deploy a MSI (Microsoft Software Installer) package on a Windows system. For more information about the types of packages you can deploy, see BLPackage overview.

What do I need to do before I get started?

  1. Obtain the software package as an MSI that includes a silent install. Most MSIs fit this requirement. The following example uses a compression utility called 7zip.
  2. After obtaining the MSI, store the package in a temporary location.
  3. Add a managed server to the BSA system. See Walkthrough: Adding a Windows managed server.

For this walkthrough, you log on as BLAdmin, the default superuser for BSA. Note that in live deployments, BMC recommends that you grant access based on roles with a narrower set of permissions.

How to package software applications with BLPackages

 ProcedureExample screen

Using the BSA console, open the Depot folder and navigate to a subfolder. Right-click and select New > Software > MSI Package.

The Select Installable Sources dialog box opens.

If necessary, you can create a subfolder by clicking the Depot folder, right-clicking, and selecting New > Depot Folder.


Using the dialog box, navigate to the MSI package stored previously. Click OK to accept default behavior and copy the installer to the file server.

The Add Software window opens. It provides many options for customizing the behavior of a software deployment. For this simple software deployment, you can accept the default behavior.


Click Finish to accept the default behavior defined on the Add Software window.

The MSI package is listed in the depot folder you selected.


Right-click the MSI package and select Deploy.

The New Deploy Job wizard opens. It lets you define a Deploy Job for the package. By defining the package itself and the Deploy Job, you can control how a software application can be moved from the Depot to a server.


Provide a name, description, and place to store the Deploy Job.

6Click Next and click Next again. The Targets panel opens. Use it to specify a target where the software package should be deployed.
  1. Click Next and click Next again. The Phases and Schedules panel opens.
  2. Clear Simulate. When using a new server that has adequate space, you can save time by skipping this phase.
  3. Select Execute job now to start the job when you finish defining the Deploy Job.
  4. Click Next.


Click Next. The Job Options panel opens. Change Logging level to All Information.

This setting is a good practice while developing a new job. At a later time, if are you satisfied with the job's performance, you can edit the job and return this setting to Errors and Warnings.


Click Finish.

The job begins to execute. You can monitor its progress on the Tasks in Progress panel.

10When the job completes, open the Jobs folder and navigate to the job you have defined. Right-click the job and select Show Results. In the right pane, a tab opens and shows the results of the job. A green check indicates success.

Wrapping it up

In this walkthrough, you packaged a simple application and then created and executed a Deploy Job to deploy that application to a server.

Where to go next

Now you can potentially use the Deploy Job you created as part of a post-provisioning job that deploys an application to a new server after the operating system is installed.

You could also use the techniques shown here as an introduction to deploying more complex applications.

Was this page helpful? Yes No Submitting... Thank you