Announcement

Collapse
No announcement yet.

System freeze after UpgradeDll ask to reboot the system

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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)

  • #2
    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.
    NSIS FAQ | NSIS Home Page | Donate $
    "I hear and I forget. I see and I remember. I do and I understand." -- Confucius

    Comment

    Working...
    X