Archive: InstallLib fail


InstallLib fail
Hi,

I am trying to install two dlls ClauerCSP.dll and clui.dll using InstallLib.

ClauerCSP.dll depends on clui.dll for that reason I install it before ClauerCSP.dll the installer fails (unistaller also fails) but the installation has been made correctly

!insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "${INSTALL}\clui.dll" $SYSDIR\clui.dll $WINDIR

!insertmacro InstallLib REGDLL NOTSHARED REBOOT_PROTECTED "${INSTALL}\ClauerCSP.dll" $SYSDIR\ClauerCSP.dll $WINDIR


but if I use:
!insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "${INSTALL}\clui.dll" $SYSDIR\clui.dll $WINDIR

ExecWait '$SYSDIR \ regsvr32.exe /s “$SYSDIR \ ClauerCSP.dll”'

the installer does not fail.

ClauerCSP.dll, clui.dll and simple script of example is here:
http://mauro.nisu.org/ScriptInstall/

Greetings


How exactly does it fail? Does NSIS the registration failed? Are you sure it doesn't fail with regsvr32.exe as well? When using /s switch, it won't tell you when it fails.