You are currently offline, waiting for your internet to reconnect

Windows Installer Transforms will Override Patch Registry Values

A patch (.msp) may fail to update a registry key value if a transform(.mst) was applied to the main product.
The reason this occurs is due to the order that Windows Installer applies transforms and patch transforms. You cannot change the order in which a transform and a patch transform are applied to the msi. The transform that was applied with the base product will always be applied last which is why it will overwrite any values that the patch would have updated. This is expected behavior.

Scenario example:

·         Base msi installed
Registry key value is set to authored value as set in the registry table of the msi package. For example the registry might have an authored value set to "base"

·         Base msi plus the transform

Registry key value is updated by the applied transform. For example it might set the value to "transform" from the origina value "base"

·         Base msi plus transform followed up with a patch install

Registry key does not get updated with the value from the patch but remains at the value that the transform sets.
For example using the values shown above it would show the value as “transform“ not the value that is authored into the patch

Work Around

Consider modifying registry values using patches not transforms. In this way the changes can be affected by using patch sequencing.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2461507 - Last Review: 11/09/2010 22:30:00 - Revision: 2.0

Microsoft Windows Installer 4.5, Microsoft Windows Installer 3.1, Microsoft Windows Installer 3.0

  • KB2461507