Microsoft KB Archive/888535

= Identifying installed updates on Microsoft products =

Article ID: 888535

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Customer Service and Support Information

-



SUMMARY
This paper explains the standard developed by the Microsoft Sustained Engineering (SE) Baseline Effort to track installed updates. The SE Baseline Effort is responsible for setting standards for Sustained Engineering practices at Microsoft.

When an update is installed, details of the installation are added to the system. These details enable the installation to be traced after the installation is completed. Regardless of whether the update is applied by using Update.exe or by using the Microsoft Windows Installer, the same information is tracked.

The information in the following table is typically tracked for updates.

Notes
 * Some updates that are installed with Update.exe also include file details to identify the installer. However, file details that are in the registry are frequently out of date because subsequent installations may replace those files. We do not recommend that you use the file details that are provided in the registry to identify a fix or to determine whether a fix is appropriately installed. Instead, we recommend that you examine the actual files.
 * Typically, there is parity between Update.exe and Windows Installer regarding what is tracked in the file details. The primary difference between the two methods is that the Add/Remove Programs link is not recorded for Windows Installer updates.



Viewing installed updates
Depending on the method that is used to install the update, you can find the tracking information in one of two locations. For Update.exe, the details are stored in the registry. For Windows Installer, the details are stored in the Windows Installer installer database tables.

Update.exe updates
For the Update.exe installer, update information is tracked under the registry key. Each product creates its own subkey that contains details of its installed updates. The individual product teams create subkeys that describe the type of service releases that they produce. Some product groups may not release service packs. Because some updates may supersede others, you should use the file details themselves and not the registry information to determine a specific file installation.

Windows Installer updates
For updates installed through Windows Installer, the information is tracked in the update package and is available through the Windows Installer interfaces. Within the update package, most details of the installed update are stored in the MsiPatchMetadata table within the Microsoft extensions section.

For more information about Windows Installer updates, visit the following Microsoft Developer Network (MSDN) Web sites:

MsiEnumPatches

http://msdn2.microsoft.com/en-us/library/aa370099.aspx

MsiPatchMetaData

http://msdn2.microsoft.com/en-us/library/aa370344.aspx

GetUserNameEx

http://msdn2.microsoft.com/en-us/library/ms724432.aspx

Additional query words: SUIT Software Update Installer Technology

Keywords: kbhowto kbinfo KB888535

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.