|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 1
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|