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

|

Mark Russinovich on MinWin, the new core of Windows

The next version of Windows three years hence will likely build onto a significant architectural change implemented in Windows 7 and Server 2008 R2.

Security firm: Windows patches not responsible for 'Black Screen of Death'

On second thought, maybe that access control list thingie with the lockdown something-or-rather didn't trigger an alleged, perhaps non-existent, pandemic.

My Windows 7 confession (and why you should confess, too)

I've held back the real reason for sticking with Windows 7, even as, gulp, iLife calls me to go back to the Mac.

Apple settles with Psystar except for 'circumvention devices'

The fracas with the Florida clone computer maker might have ended today had Apple not have muddled the issue over a cheap piece of Psystar software.

Google begrudgingly adjusts news crawling for paid publishers

If publishers want to make readers pay for news content, and thereby drive down its popularity and Google ranking, the company says, they can just go right on ahead.

Fee or free? Murdoch, Huffington square off over the cost of Internet news

Participants in an FTC workshop yesterday witnessed the two extremes of the Web news publishing debate, still centered on the issue of long-term profitability.

Microsoft denies latest 'Black Screen of Death' claims

After an anti-malware producer announced a fix to what it says is a swarm of recent KSoD problems, evidence of the swarm itself has yet to turn up.

Latest Firefox 3.6 beta fixes 133 bugs, promises faster page load times

A once-sluggish beta testing process has kicked into overdrive, with astonishing success at finding serious bugs. Will Mozilla be able to fix all the others in time?

Confirmed: Office 2010 to ship in June

Two weeks after Microsoft had been expected to draw a clearer roadmap for its principal applications suite, it's finally ready to commit to the end of H1.

New EU antitrust commissioner will oversee Microsoft, Oracle+Sun, Intel issues

As one of Europe's most prominent politicians shifts positions in January, her replacement remains a question mark over technology's biggest issues.

Without its own 'iTablet' yet, is Apple missing the boat?

Steve Jobs is on record as dissing "single-purpose" devices like e-readers. But given their recent popularity, was that a mistake?