Windows Installer Editor Reference
177
Your Installation on the Destination Computer
z
Elevate Deferred Execution sequence only
This is the preferred option for most installations. Typically, actions that require
elevation should be in the Execute Deferred sequence.
At run time, when the installation reaches the Deferred Execution sequence, the
user is prompted for administrator credentials.
z
Elevate entire installation
Elevate the entire installation when it contains actions that require elevation but are
outside the Execute Deferred sequence.
See
About UAC Elevation of an Entire Installation
on page 180.
Restart Manager
Installations and updates often require computer restarts when files that are being
updated are in use by a running application or service. In Windows Vista or later, Restart
Manager can detect processes that have files in use and stop and restart them without
requiring a restart of the computer. Applications that are written to take advantage of
Restart Manager can be restarted and restored to the same state and with the same
data as before the restart.
To enable Restart Manager for this installation, mark the following options:
z
Use Restart Manager
When this installation is run, use Restart Manager to shut down and restart
applications and services that have files in use.
The use of Restart Manager determines which dialog box appears if the installation
tries to update files that are being used:
If Restart Manager is enabled, the Windows Vista Files in Use dialog box
(MsiRMFilesInUse) appears.
If Restart Manager is disabled, the Files in Use dialog box (used in earlier
versions of Windows) appears.
z
Restart registered applications that were shut down by Restart Manager
When applications are shut down, only applications that are registered with Restart
Manager for a restart are restarted. Applications that are not registered are not
restarted even if this check box is checked.
The following options determine which applications are shut down:
Attempt to shut down all affected applications
Restart Manager attempts to shut down all affected applications. If an
application is written to ignore the shutdown request, it is not shut down.
Shut down all affected applications
Restart Manager forces a shut down of all affected applications, including those
that are written to ignore the shutdown request.
Shut down only if all affected applications are registered for a restart
If at least one affected application is unregistered, then the attempt to shut
down all applications, registered or not, fails and a restart is required at the end
of the installation.
Log file options
If you include logging options, then when the installation is run on Windows Vista or
later, the installation’s Exit dialog box contains an option to view the log file.