« Intel Offering Low-Watt Xeons | Home | Touch Screen Asus Eee PCs »
Windows Installer 4.5 Beta 2 Now Available
By Planet Lowyat - March 25, 2008

Windows Installer Team pleased to announce Windows Installer 4.5 Beta 2 is now available from the Microsoft Connect site.
If you have not signed up for the beta yet, please do - we are listed as “Windows Installer 4.5″ under the “Available Connections” section of the site. If you have already joined the beta, please head back to the Connect site and download the updated bits, tools and documentation. This is our last planned beta release before we ship, so your feedback at this stage is especially important! Said Tyler from Microsoft Windows Installer Team.
Walkthrough for Signing up for Windows Installer 4.5 Beta
Here’s a walkthrough of the process I’ve used to signup for the Windows Installer 4.5 Beta
1) go to URL http://connect.microsoft.com/availableconnections.aspx
2) sign in (using a creating new hotmail account - steps omitted for brevity)
3) after completing new account creation, the page returns me to the https version of the Available Connections page at https://connect.microsoft.com/availableconnections.aspx?wa=wsignin1.0
4) scroll down alphabetically to “Windows Installer 4.5 Beta”
5) Click on Apply link in the far right column of the Windows Installer 4.5 Beta row
6) I’m taken to page https://connect.microsoft.com/SelfNomination.aspx?ProgramID=1506&pageType=1&SiteID=432 which has a Continue button at the bottom which I click.
7) I’m taken to a terms of use page at https://connect.microsoft.com/registration/terms.aspx?regType=2&cru=%2fSelfNomination.aspx%3fProgramID%3d1506%26pageType%3d1%26SiteID%3d432&cu=%2favailableconnections.aspx%3fwa%3dwsignin1.0 at the bottom of which there is an I Agree button which I click
I’m taken to a register page at https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=f81448ea-824f-4ca7-9ed1-39af10a9b425&lcid=1033&fu=%2fregistration%2fregistrationconfirmation.aspx%3fcru%3d%252fSelfNomination.aspx%253fProgramID%253d1506%2526pageType%253d1%2526SiteID%253d432&cu=%2favailableconnections.aspx%3fwa%3dwsignin1.0 which I then fill in the information and click the Continue botton at the bottom
9) I’m taken to a Verify Ownership of Your Email alias page at https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=f81448ea-824f-4ca7-9ed1-39af10a9b425&lcid=1033&fu=%2fregistration%2fregistrationconfirmation.aspx%3fcru%3d%252fSelfNomination.aspx%253fProgramID%253d1506%2526pageType%253d1%2526SiteID%253d432&cu=%2favailableconnections.aspx%3fwa%3dwsignin1.0
10) Switch to email and see I’ve received an email from the connect server (after a bit of waiting). Open the email and click the embedded link (omitted here for brevity)
11) the link from the email takes me to a E-Mail Verification Confirmation page at https://profile.microsoft.com/RegSysProfileCenter/ConfirmEmail.aspx?lcid=1033&EmailEntered=rflaming%40microsoft.com&eck=GQvY1J4y0OzM%252fLNB2Hm%252bcw&CP=2&brand=Microsoft&Wizid=f81448ea-824f-4ca7-9ed1-39af10a9b425&fu=https%3a%2f%2fconnect.microsoft.com%2fregistration%2fregistrationconfirmation.aspx%3fcru%3d%252fSelfNomination.aspx%253fProgramID%253d1506%2526pageType%253d1%2526SiteID%253d432&Sec=1 at the bottom of which is a Continue button
12) after clicking Continue, I’m taken back to the root of the connect site so I switch back to the Verify Ownership of Your Email page and click Continue on that page
13) I’m taken to a Welcome to Connect page where I enter a friendly name and click the Continue bottom at the bottom of the page
14) I’m finally taken to the Windows Installer 4.5 Beta site at this URL https://connect.microsoft.com/site/sitehome.aspx?SiteID=432
15) On the left hand side I see a “Downloads” menu item so I click it
16) I’m taken to the page https://connect.microsoft.com/Downloads/Downloads.aspx?SiteID=432 where I see the two white papers
17) I click on the first link and it takes me to this page https://connect.microsoft.com/Downloads/DownloadDetails.aspx?SiteID=432&DownloadID=8270
18) I click on the download link and I get a prompt from the Gold Bar (of IE7) whether I want to allow the download
19) I right click on the Gold Bar and select download file…
20) I get the dialog “Do you want to open or save this file?” and choose Open
21) Word boots with the first document
22) I go back to the browser and click the back button until I get to the list of available downloads at https://connect.microsoft.com/Downloads/Downloads.aspx?SiteID=432
23) I click the second link on the available downloads page which brings me to the page https://connect.microsoft.com/Downloads/DownloadDetails.aspx?SiteID=432&DownloadID=8271
24) I click on the download link and I get a prompt from the Gold Bar (of IE7) whether I want to allow the download
25) I right click on the Gold Bar and select download file…
26) I get the dialog “Do you want to open or save this file?” and choose Open
27) Word boots with the second document
What’s New
The following features are new to Windows Installer 4.5 and provided both downlevel to Windows XP SP2 and newer, and to Windows Vista and newer.
Multi-package Transactions
Chaining installations often requires decisions about when to “undo” what has already been installed in previously installed products in the chain, and that must be done through maintenance installs to uninstall those products. With multi-package transactions, installation developers can now take advantage of the same transactional behavior as for a single product. 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.
Embedded UI Handlers
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.
Shared Components Robustness
Shared components prevent files from being uninstalled when another product is referencing those files. When components in different products have the same component GUID, those components are ref-counted. This feature does not, however, prevent files from being downgraded. When uninstalling a patch, providing the original source may be necessary and an older file may be reinstalled for one product and adversely affect another. Any components attributed with the new attribute msidbComponentAttributesShared (0×0800) will prevent such scenarios by making sure the newest file is reinstalled across all affected products.
Patch Supersedence Robustness
Patch supersedence allows patches to effectively hide other patches, thus working on a common baseline view of the product. This affects how patches are displayed in the Add/Remove Programs control panel, how to apply binary patches, and how patches are registered to products for future maintenance installs. Supersedence is, however, often tricky to get right. If a patch supersedes another patch, the superseding patch must contain all changes from a superseded patch. If, for example, a component is dropped in the superseding patch that a superseded patch added to the product, the components’ feature state is changed to Advertised and will not be reinstalled. Any components attributed with the new attribute msidbComponentAttributesUninstallOnSupersedence (0×0400) will simply be uninstalled if superseded out of the view of the product rather than affect its parent features’ states.
Uninstall Custom Actions
Uninstalling a patch is basically the act of removing the patch from the view of the product and reinstalling the product. If a patch being uninstalled added or updated custom actions, those custom actions will not be run during patch uninstall. In Windows Installer 4.5, custom actions attributed with the new attribute msidbCustomActionTypePatchUninstall (0×0800) will be run during uninstall and will be able to access changes a patch or patches made to the product even when they are being uninstalled. This allows package developers to avoid the rather cumbersome approach of authoring hooks in the baseline product or a previous patch that, for example, use patch codes in the MsiPatchRemovalList property to execute custom actions on disk or in the installation package.
What’s Changed
In addition to all the applicable changes in Windows Installer 4.0 for Vista, some patch sequencer performance improvements were made along with other bug fixes. Not all of the functionality is active on downlevel platforms, however, such as the Restart Manager functionality that is new in the Windows Vista platform. More notable changes are summarized below.
Logging Properties
The MsiLogging and MsiLogFileLocation properties are now available downlevel. The MsiLogging property is intended to allow the package developer to specify the default logging mode which overrides the default machine logging policy. The MsiLogFileLocation allows the installation UI developer to display the path to the log that MSI used - whether generated automatically or set otherwise using the MsiEnableLog() function.
Note: you should not use the MsiLogFileLocation property to write custom log lines to the Windows Installer log. Custom actions should always use the MsiProcessMessage() function.
Localized Basic UI
Localized text is now shown correctly for basic UI dialogs. In the absence of ActionText and Error table records, common UI text is provided by Windows Installer correctly based on the current UI language. No more blank dialogs as seen in Microsoft .NET Framework 2.0 patches.
Disable Registry Reflection
Registry reflection copies registry values between 32- and 64-bit views of the registry. Registry reflection is disabled for all registry keys and values affected by components attributed with the Windows Installer 4.0-introduced attribute msidbComponentAttributesDisableRegistryReflection (0×0200).
Tags: Beta, Installer, Microsoft, Windows
Posted in News, Software |
