Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   zipdll problems (http://forums.winamp.com/showthread.php?t=252928)

art4eye 9th August 2006 18:10

zipdll problems
 
I'm having some problems with the zipdll plugin

It failes, but does not return an error

The file (user.zip) is in the same dir as the installer. It worked for a while, and then it stopped working for no apparent reason.

code:

; extracting the user keys
!insertmacro ZIPDLL_EXTRACT "user.zip" "$INSTDIR\keys" "<ALL>"

IfErrors 0 +2
abort "something failed"


Afrow UK 10th August 2006 09:14

Give it a full path:
"$EXEDIR\user.zip"
NSIS plugins can't set the error flag.

-Stu

kichik 18th August 2006 10:13

Quote:

Originally posted by Afrow UK
NSIS plugins can't set the error flag.
That's actually possible since 2.03 using the fifth plug-in parameter which points to a exec_flags_type struct. It's used in the Dialer plug-in.


All times are GMT. The time now is 05:10.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.