Old 11th October 2006, 09:09   #1
maesteve
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
maesteve is offline   Reply With Quote
Old 15th October 2006, 18:15   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump