RollbackDisabled Property
The installer sets the RollbackDisabled property when rollback has been disabled. RollbackDisabled is used by package authors who need to ensure that the installer has not disabled rollback. The RollbackDisabled property can be used in a conditional expression that effectively refuses to continue with the installation if RollbackDisabled property is set.
Default Value
By default, rollback is enabled.
Remarks
Because rollback and commit do not run while rollback is disabled, the installer cannot properly install a package that uses these types of custom actions in a transaction during the installation. In this case, the author of the package should include a condition using DisableRollback that prevents the installation from continuing if rollback is disabled.
The DisableRollback policy value can be set by an administrator as a part of assigning system policy. Administrators are advised to not disable rollback unless necessary. For more information about DisableRollback policy value, see System Policy.
Requirements
Version | Windows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version. |
---|
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.