Article ID: 312499 - View products that this article applies to.
This article was previously published under Q312499
When you install or remove the .NET Framework, you may receive the following error message:
You must enable rollback to continue with setup. For more information, please visit http://support.microsoft.com/support/kb/articles/q312/4/99.asp
This error occurs because the rollback feature of the Microsoft Windows Installer is disabled. The .NET Framework Setup program requires commit custom actions for proper installation. Rollback and commit custom actions do not run when rollback is disabled.
Rollback is disabled in the DisableRollback policy in the registry. The DisableRollback policy value may have been set by an administrator. Microsoft recommends that administrators do not disable rollback unless this is necessary.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
There are two places in the registry where the DisableRollback policy value can be set. To resolve this problem, you must find out where the DisableRollback policy was set and remove or disable the setting.
To find out whether this property exists in your registry, run C:\Regedit.exe and check the following locations:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\DisableRollbackIf the DisableRollback key exists and has a value of "1", delete the key or set the value of the key to "0". (You can also set DisableRollback through command-line instructions.) Microsoft recommends that administrators and developers not set this property if they use command line instructions to run Setup, or Setup will not work.
For more information about the DisableRollback policy value, visit the following Microsoft Developer Network (MSDN) Web site:
Article ID: 312499 - Last Review: December 3, 2007 - Revision: 5.5