Menu

#321 !insertmacro or StrFunc doesn't work

2.0 Series
closed-invalid
General (291)
5
2005-02-17
2005-02-08
No

Hi there,
I just upgraded to NSIS 2.05 and I'm having problems
using functions from StrFunc.nsh (e.g. StrTok,
StrStr, ...).
When I try to use it, I am getting the following error:
!insertmacro: FUNCTION_STRING_StrTok
!insertmacro: macro "FUNCTION_STRING_StrTok"
requires 0 parameter(s), passed 5!

The line that's causing it looks like:
${StrTok} $OraSID $R0 " -" "0" "1"

It could be a problem with macro STRFUNC_FUNC in
StrFunc.nsh or some incompatibility with 2.05. Not sure.

Regards

Robert

Discussion

  • Amir Szekely

    Amir Szekely - 2005-02-10
    • assigned_to: nobody --> kichik
     
  • Amir Szekely

    Amir Szekely - 2005-02-10

    Logged In: YES
    user_id=584402

    Have you declared the functions you're using on the top of
    the script? See Include\StrFunc.txt for more information.

     
  • Amir Szekely

    Amir Szekely - 2005-02-17
    • status: open --> closed
     
  • Amir Szekely

    Amir Szekely - 2005-02-17

    Logged In: YES
    user_id=584402

    Closed due to lack of interest of bug poster.

    If you have anything to add you can still do it, just reply here.
    Closing a bug report only means it doesn't show on the main page
    as an open bug, an existing bug.

     
  • Amir Szekely

    Amir Szekely - 2005-02-17
    • status: closed --> closed-invalid
     
  • Robert Dobozy

    Robert Dobozy - 2005-02-24

    Logged In: YES
    user_id=57278

    Kichik,

    Apologies for the late response. I was swamped with other
    things.
    Yes, you are right. I inadvertently deleted the declaration
    when testing my installer after NSIS upgrade. So it wasn't a
    bug at all.
    Thanks for your time.

    Cheers

     

Log in to post a comment.

MongoDB Logo MongoDB