RmShutdownAndRestart ControlEvent

Windows Installer

RmShutdownAndRestart ControlEvent

This event notifies the Windows Installer to use the Restart Manager to shutdown all applications that have files in use and to restart them at the end of the installation.

This ControlEvent has no effect if any of the following are true.

  • The operating system running the installation is not Windows Vista or Windows Server 2008.
  • Interactions with the Restart Manager have been disabled by the MSIRESTARTMANAGERCONTROL property or the DisableAutomaticApplicationShutdown policy.
  • There is currently no open Restart Manager session.
  • Any calls from the Windows Installer to the Restart Manager returns a failure.

Typical Use

The RMShutdownAndRestart control event is published only by a PushButton control on the MsiRMFilesInUse Dialog box.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.