Archive: RegDLL and NSIS 2.06 break


RegDLL and NSIS 2.06 break
Nullsoft Froum

regdll $installdir\my.dll
Nsis break always here
NSIS 2.06

I would make this
regsvr32 mydll.dll
regsvr32 /u mydll.dll

in nsis (silent dll execute)


Are you actually using $installdir in the script, or just in your post (because it's $INSTDIR)

-Stu


Hello,

sorry right. Yes i mean this:

regdll $INSTDIR\mydll.dll

I can compile it.
If i test install the nsis break on the progress bar.
There are noe messagebox with yes,NO,OK,. ...

The installer closed and that was, without a message.

With manuell dos command the dll worked:
regsvr32 mydll.dll
regsvr32 /u mydll.dll


RegDLL simply loads the DLL, calls DllRegistrServer from it and unloads it. Your DLL's DllRegistrServer might call ExitProcess or PostQuitMessage which causes the installer to exit. Try debugging your DLL and see where exactly it exits.