Archive: System freeze after UpgradeDll ask to reboot the system


System freeze after UpgradeDll ask to reboot the system
During my setup I used UpgradeDll to upgrade some system dlls like this

!define UPGRADEDLL_NOREGISTER
!insertmacro UpgradeDLL "..\..\Exe\SYSTEM\MSVCRT.DLL" "$SYSDIR\MSVCRT.DLL" $SYSDIR
${Endif}
!undef UPGRADEDLL_NOREGISTER

When the setup ask me to reboot I accept, then the setup close itself, the desktop appears and the system freeze: no more mouse, keyboard, I need to press the reboot button.
Any idea (I am using nsis 2.20 on window xp pro sp2)


Are you using the redistributable MSVCRT.DLL or one copied from your system directory? Non redistributable DLLs can cause such problems.

You can also try the new Library macros instead of the old UpgradeDLL macro.