BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Windows Installer Adds Support for Multi-Package Transactions

| by Jonathan Allen Follow 127 Followers on Aug 29, 2007. Estimated reading time: 1 minute |

Windows Installer allows developers to create complex install scripts for their applications. It also includes support for patches and uninstalling program. MSI packages are usually created using tools like InstallShield or, for simpler scenarios, Visual Studio.

In a recent post, Heath Stewart discusses some of the new features for Windows Installer 4.5.

Script generation and execution is still performed per-package, but the commit phase is performed for all products at the same time. If an error occurs, the rollback phase is performed for all products at the same time. This change in behavior extends to multi-product patch install as well.

Another feature is the ability affects how dependent applications are installed.

An external UI handler allows installation developers to present a single, consistent UI for chained products to the user. Office, Visual Studio, and many other product use them. The problem is when you want to compose your product by redistributing another product. Embedded UI handlers allow package developers to still handle and filter messages before they are dispatched to the standard UI handler. This feature also ties in with multi-package transactions by allowing a chained MSI to join an existing transaction.

Other changes are meant to improve patch and shared component robustness and to allow for custom actions during uninstallation.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT