EnableRollback ControlEvent

Windows Installer

EnableRollback ControlEvent

This ControlEvent can be used to turn on or turn off the installer's rollback capabilities.

This event can be published by a PushButton Controlor a SelectionTree control. This event should be authored into the ControlEvent table.

This ControlEvent requires the user interface to be run at the full UI level. This event will not work with a reduced UI or basic UI. For information, see User Interface Levels.

Published By

This ControlEvent is published by the installer.

Argument

False turns off the installer's rollback capabilities. True turns on the installer's rollback capabilities.

Action on Subscribers

This ControlEvent does not perform an action on subscribers.

Typical Use

Can be used to turn off rollback capabilities if the installer detects that there is insufficient disk space available to complete the installation. For this case, the ControlEvent should be used with the OutOfDiskSpace, OutOfNoRbDiskSpace, and the PROMPTROLLBACKCOST properties.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.