Redigera

Dela via


MsiRMFilesInUse Dialog

The MsiRMFilesInUse Dialog box can be authored to display a list of processes that are currently running files that need to be overwritten or deleted by the installation. The user can select between options to "Automatically close applications and restart them" or "Do not close applications. (A reboot will be required.)" If the user selects the "Automatically close applications and restart them" option, a push button control on this dialog box can be authored to publish the RMShutdownAndRestart control event and the Restart Manager can close the applications and restart them at the end of the installation. This can eliminate or reduce the need to restart the computer. For more information, see System Reboots.

The MsiRMFilesInUse dialog box is displayed during an installation only if all the following are true. When any of these are false, the Windows Installer ignores the MsiRMFilesInUse dialog box.

This dialog box will be created as required by the InstallValidate action.