Skip to content
⌘ NSIS Forum Archive

RegDLL and NSIS 2.06 break

4 posts

Biarchiv#

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)
Afrow UK#
Are you actually using $installdir in the script, or just in your post (because it's $INSTDIR)

-Stu
Biarchiv#
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
kichik#
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.