Click here to Skip to main content
15,878,814 members
Articles / Operating Systems / Windows
Article

Using the MSI installer wizard for deploying applications created in BizTalk Server 2006

Rate me:
Please Sign up or sign in to vote.
3.18/5 (7 votes)
30 Apr 2006CPOL3 min read 53.2K   21   1
This article explains how to use the MSI installer wizard for deploying applications created in BizTalk Server 2006.

Introduction

Many a time, as a developer and as a lead, we are all faced with challenging tasks of solution deployment. Deployment is quite a task when it comes to understanding the various dependencies of the application/system being developed. This article explains one aspect of deployment, namely the creation of an MSI installer file which contains the BizTalk application to be deployed.

Background

In the good old DOS operating system days, one would install an application by just copying a file or two on the hard disk. Now, that's not the case anymore, since the applications of today consist of several files. The MSI are programs written just to copy these files into various locations on the target user's computer. These MSI programs package the application and configure it. This enables smooth installation on the target user's machine.

In this article, we will be creating an MSI file for the application created in this article: HOW To Compensate a Transaction in a BizTalk Orchestration.

Using the BizTalk 2006 MSI Export Wizard

Step 1: Open the "BizTalk Server 2006 Administration Console". You would notice the various applications under the BizTalk Group for the local machine.

Wiz_0.PNG

Step 2: Create a new application namely "CompensationDemo" by right-clicking on the "Applications" folder and selecting "New" -> "Application...". Observe the screenshot below. Check the check box "Make this the default application".

Wiz_1.PNG

Step 3: Notice the new application "CompensationDemo" being created as shown in the screen below. Observe the boxes marked in "RED" color.

Wiz_2.PNG

Step 4: Deploy the application from Visual Studio by selecting the "Deploy" option from the Project menu.

Wiz_3.PNG

Step 5: Start the Orchestrations from the Administration console to confirm that the application has been deployed correctly and is working as expected.

Wiz_4.PNG

Step 6: Before the creation of the MSI file, we would need to specify the dependencies of the BizTalk application. We would perform this by selecting "Add" -> "BizTalk Assemblies...".

Wiz_5.PNG

Step 7: This application depends on the "DBLib.dll" database library. So, this needs to be added to the dependencies list. The check box "Overwrite all" needs to be checked in case you are doing a second deployment, or you might need to update the older "DBLib.dll" in the GAC. Note that all BizTalk assemblies are required to be present in the GAC. Observe the boxes marked in "RED" color.

Wiz_6.PNG

Step 8: Start the MSI wizard by right-clicking the "CompensationDemo" application and selecting the "Export" -> "MSI file..." option.

Wiz_7.PNG

Step 9: Check the dependencies in the Resources screen, and appropriately select the check boxes.

Wiz_8.PNG

Step 10: Specify the destination application name and the location where the MSI file needs to be placed on your local machine.

Wiz_9.PNG

Step 11: Read the summary information and check the log for any discrepancies or missing items.

Wiz_10.PNG

Last step: Check whether the MSI file has been copied to the desired location, and test the MSI by installing it on a different box.

Summary

BizTalk Server 2006 makes the MSI installer file creation for deployment a breeze.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect AT&T Wi-Fi Services
United States United States
Naveen has done his Masters (M.S.) in Computer science, has started his career programming the mainframes and now has more than a decade of programming, development and design experience. Naveen has a sharp eye and keen observation skills. Naveen has worked for several companies and strived hard to build large scale business applications and bringing better solutions to the table.
Quite recently Naveen has built a fairly complex integration platform for a large bank. His hobbies include training, mentoring and research. Naveen spends his free time visiting National Parks nationwide.

Naveen has developed the BizTalk Control Center (BCC)
http://biztalkcontrolcenter.codeplex.com

Comments and Discussions

 
GeneralThanks Pin
xz_king17-Jun-08 2:28
xz_king17-Jun-08 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.