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

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

|

Before it can tackle Windows, Chrome must leave Safari in the dust

It's a little browser with dreams of becoming a bigger operating system some day. But while it's chasing Microsoft's dreams, Chrome's tail is being chased by Apple.

Silverlight 3 goes live on Microsoft's servers

Microsoft's answer to Adobe's Flash is (unofficially) here, with prospects of higher-speed, higher-resolution video and for the first time, 3D.

Best Buy-brand TVs to get TiVo

A new alliance will place the retailer's own brand alongide the manufacturers, and could also lead to future partnerships on services.

Three Android phones on the way from T-Mobile in 2009

T-Mobile's myTouch 3G, launched Wednesday, will be followed by two more Android phones later this year, but neither of them will be HTC's Hero.

LTE still lacks a voice

The 4G Wireless standard that Verizon hopes to show off before this year is out is still at a loss for (spoken) words.

T-Mobile's strategy to combat Apple's iPhone with Android

With a trio of Android phones now in the pipeline for 2009, T-Mobile hopes to break the iPhone's emerging stranglehold.

EC's Reding: Government should act as broker for media downloads

If Internet media services don't step up and build an attractive way for users to start paying for downloads, a commissioner says, government may do the job instead.

Sony TVs get Netflix, still no PS3

Though it's coming in behind LG, Samsung, and Microsoft, Sony will begin to offer Netflix streaming, too.

Google Chrome OS: Too little, too early

Carmi Levy: Wide Angle Zoom Don't start the revolution just yet, says Carmi, who isn't so certain Chrome OS will be the "Windows Killer."

GAO pen test brings the hammer down on federal rent-a-cops

But are the computers to blame for the contract-guard fiasco at FPS?

What's Next: Chrome OS will have at least some friends in high places

Also: South Korea takes another round of DDoS abuse, and Neelie Kroes and Steve Ballmer may shake hands before she exits stage left.

Data sharing among online advertisers: Is sanity in sight?

Lockdown with Angela Gunn In the middle of a 15-page plea not to get regulated, a spark of smart thinking.