Archive: Reboot instead of Abort/Retry/Ignore?


Reboot instead of Abort/Retry/Ignore?
As part of our installer, we are distributing MSVCR71.dll (VC++ runtime). When the user has an older version of this DLL installed, NSIS attempts to replace it (SetOverwrite ifnewer). If the user has an application open that uses this DLL, the copy fails and a dialogbox (Abort/Retry/Ignore) is presented.

Is there a better way to handle this?

WinInstall (and the windows installer) solve this problem by writing the DLL with a temporary name, creating the PendingFileRenameOperations registry key and asking the user to reboot. Can I make NSIS do this?


See appendix B of the documentation.