Newest Windows Installer will enable multiple package installs

By Scott M. Fulton, III | Published June 3, 2008, 5:06 PM

Managing a massive Windows installation has already been likened to administering a colossal database. Today, Microsoft added new functions to its Installer for setup packages, that really does start treating Windows like one.

Download Windows Installer 4.5 from FileForum now.

In the last major update to Microsoft's Windows Installer package, used by setup software to ensure proper installations, a feature was added to capture the running state of applications, suspend them, and restart them after setup. This was reportedly necessary for installing updates to Windows Vista; but outside of Vista itself, it's a feature that, frankly, hasn't seen much use -- in fact, quite a bit of software out there still seems to work fine with Installer 3.1.

That might change with the release today of Windows Installer 4.5, which in addition to hardening new features, adds some new incentives for developers to finally make the shift, including a database-like transaction processing facility that not only enables rollback in case of failure (without having to restore from backups) but also enables multiple-package installations.

Registering a process as a transaction and then committing it, like an addition to a remote database, enables that process to be rolled back and revoked, restoring the previous state. This holds the promise of making installations significantly safer.

One major bug fix which developers will appreciate has to do with prior Installers' tendency to clean up too much after themselves, often removing interim components that were necessary to later steps in the process. In a post last month to the Windows Installer team blog, one developer wrote, "When a patch added new content in the form of a new component and that patch was being uninstalled, we used to remove that content, even if that content is shared by other products. This is now fixed in Windows Installer 4.5."

But perhaps the biggest and most anticipated addition to the new version is the ability for developers to embed a custom UI in their installer packages. Custom UIs were possible in prior versions, but only in very limited scenarios, and only when a bootstrap setup executable was invoked first, that in turn invoked the process that invoked Windows Installer.

"Embedded UI...provides the package author enhanced control of the Windows Installer user interface," reads an April post to the Installer team blog, "through custom code which is bundled with the MSI file itself and without requiring complex and bug-prone workarounds to handle the various activation paths which can trigger an install. Regardless of the activation method of the installer operation, MSI will use the custom embedded UI provided within the package."

XAML, perhaps? That would have been perfect. But you can create a front end that's compiled into a DLL -- using Visual Studio 2008, of course -- and then reference that DLL using one of Installer 4.5's upgraded list of intrinsic functions.

Comments

View comments by with a score of at least

after install i also have a new entry in "Add or Remove Programs" called "Windows Media Format Runtime".

Score: 0

|

I think we will see more rollup type updates in this way.

IDK Maybe not... I do like to have that type of option short of a SP of course...

Plus it seems quite a bit faster now as well...

The individual components seem to be able to still be uninstalled even when in a package, if there is a problem. Defiantly on the right track IMHO.

Score: 0

|

When a patch added new content in the form of a new component and that patch was being uninstalled, we used to remove that content, even if that content is shared by other products. This is now fixed in Windows Installer 4.5.

Hopefully they will still give you the option to remove that content, otherwise it isn't allowing for a full uninstall, though it leaves a market wide open for third-party uninstallers to fill.

Score: 0

|

this is sounding a lot like AutoPatcher (choose what updates to do, download and install multiple updates, portable), which after helping people for several years, then got a cease order from Microsoft

Score: 0

|

So is this going to be a forced download at Microsoft Update soon?

Score: 0

|

I'm guessing not until Win7 is in large-scale beta.

Score: 0

|

Windows Installer 3 wasn't. It's installer technology, therefore it will come with applications that require it present before installation.

Score: 0

|

If an application has to redist 4.5 in order to take advantage of 4.5 capabilities, it really doesn't get rid of the bootstrapper at all, does it?

http://blog.deploymenten...06/chicken-and-egg.html

Score: 0

|

Actually, Windows Installer 3.1 was a required update after a while, as it was needed "to ensure faster update process" so it's one of those prerequisites now to getting the other Windows updates.

It wasn't a required update until a few months after it's release, though.

Score: 0

|

Microsoft's Ray Ozzie: 'Nobody's going to be 100% open'

The mobile apps ecosystems of the world may converge over time, led by apps being ported over across platforms, according to the Chief Software Architect.

Will Firefox beat IE9 to Direct2D rendering?

Just days after Microsoft executives gave conference attendees a peek at a new rendering technology, a Mozilla contributor revealed he's working on the same thing.

Where there's smoke: Apple warranty stance raises troubling questions

Carmi Levy | Wide Angle Zoom: Smoking can be dangerous not only for your lungs, it appears, but for your Apple hardware warranty.

AOL's decision to rebrand as Aol. takes a bad brand and makes it worse

The idea behind the social Web is to crowd source before bringing out something new. But not at AOL, which new logo debuted with a cry of "fail!" across the blogosphere and Twittersphere today.

Microsoft 'worked with Apple' for Silverlight on iPhone, says Goldfarb

By not making such a big deal out of trying to stream video to the iPhone, Microsoft got a big deal out of it, revealed the Silverlight product manager.

Clicker.com cuts through the Web video chaos

In a world where homemade video and Hollywood movies travel the same pipeline, it's good to have a real search engine to cut through the clutter.

A case study in improving software: What Office 2010 can learn from Notion 3

A music composition product gambles with a complete overhaul, in an effort to make headway against two well-known competitors in a tough market.

Kindle 2 update adds battery life, native PDF reader

Amazon has pushed out an update to the Kindle 2 e-reader that lengthens battery life and adds a native PDF viewer.

Safari on iPhone gets competition from a $1 browser app

Apple likes to say it gives iPhone users a full browsing experience, but a new competitor tries to incorporate more desktop browser features.

Action Replay maker sues Microsoft for Xbox 360 'predatory technological barriers'

Third-party video game accessory maker Datel has filed an antitrust lawsuit against Microsoft over the Xbox 360's recent Dashboard update.

Microsoft's Bob Muglia and Ray Ozzie on Silverlight vs. standards

Bob Muglia: "We're trying to provide people with an environment that has capabilities that you just simply can't do today in the standards-based world."