Skip to content
/ BtsMsiLib Public

Library for packing resources into a BizTalk Server deployable MSI file.

Notifications You must be signed in to change notification settings

riha/BtsMsiLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library to create and pack resources in to BizTalk Server specific MSI files.

Get started

Use NuGet to download the BtsMsiLib package.

// Create a BizTalk application object with specific name
var btsApplication = new BtsApplication("App1");

// Add the resources you'd like to use. Can be both BizTalk reources and more general .NET assemblies
var btsSchemaResource = new Resource(@"..\..\..\Data\BtsSample.Schemas.dll", ResourceType.BtsResource);

// Create the MSI and get back a file stream
var msiWriter = new MsiWriter();
var file = msiWriter.Write(btsApplication, new[] { btsSchemaResource });

// Write the file stream to disk
using (var destinationFile = File.Create(@"..\..\..\Export\MinimalisticBtsResourceTest.msi"))
{
	file.CopyTo(destinationFile);
}

Build status

About

Library for packing resources into a BizTalk Server deployable MSI file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages