The Wayback Machine - https://web.archive.org/web/20090112123045/http://msdn.microsoft.com:80/en-us/library/aa373654.aspx
Restart Manager

Purpose

The Restart Manager API can eliminate or reduce the number of system restarts that are required to complete an installation or update. The primary reason software updates require a system restart during an installation or update is that some of the files that are being updated are currently being used by a running application or service. The Restart Manager enables all but the critical system services to be shut down and restarted. This frees files that are in use and allows installation operations to complete.

Where Applicable

The Restart Manager DLL exports a public C interface that can be loaded by standard or custom installers. The installer can use the Restart Manager to register files that should be replaced during the installation of an application or update. Then during a subsequent update or installation, the installer can use the Restart Manager to determine which files cannot be updated because they are currently in use. Restart Manager can shut down and restart the non-critical services or applications that are currently using those files. Installers can direct the Restart Manager to shut down and restart applications or services based on the file in use, the process ID (PID), or the short-name of a Windows service.

Developer Audience

This documentation is intended for developers of installation applications who want to take advantage of the installer capabilities in Windows Vista or Windows Server 2008. Applications that use the Windows Installer version 4.0 for installation and servicing automatically use the Restart Manager to reduce system restarts. Custom installers can also be designed to call the Restart Manager API to shut down and restart applications and services. In cases where a system restart is unavoidable, installers can use the Restart Manager API to schedule restarts in such a way that it minimizes the disruption of the user's work flow.

Run-Time Requirements

The Restart Manager API is available with Windows Vista. Restart Manager consists of a single DLL that applications can load to access the Restart Manager API.

In This Section

TopicDescription

About Restart Manager

Overview topics that describe the Restart Manager.

Using Restart Manager

Overview topics about using the Restart Manager API.

Restart Manager Reference

Reference topics for the Restart Manager API.



Send comments about this topic to Microsoft

Build date: 11/1/2007


Azure Services Platform
Design Tools
Development Tools and Languages
Mobile and Embedded Development
.NET Development
Office Development
Open Specifications
Servers and Enterprise Development
Web Development
Win32 and COM Development

MSDN Library
Tags: 
 
Community Content