Announcement

Collapse
No announcement yet.

NSIS 3.0b3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NSIS 3.0b3

    If you find any new issues, report them in this thread and/or on the SF bug tracker and please include compiler error messages and sample code if possible...
    IntOp $PostCount $PostCount + 1

  • #2
    WOW!. I never thought that was an update earlier than I expected.

    Comment


    • #3
      There appears to be a syntax error in WinMessages.sh:

      Usage: !define [/ifndef | /redef] ([/date|/utcdate] symbol [value]) | (/file symbol filename) | (/math symbol val1 OP val2)
      OP=(+ - * / << >> >>> % & | ^)
      !include: error in script: ".../Include/WinMessages.nsh" on line 102
      !include: error in script: ".../Contrib/Modern UI 2/MUI2.nsh" on line 25
      !include: error in script: ".../Include/MUI2.nsh" on line 1
      moving the few "/math" starting at line 102 in front of the symbol names fixes it.

      Comment


      • #4
        Today I installed NSIS V3.0b3. When I tried to compile my old scripts I got the following error:
        !include: "C:\Program Files (x86)\NSIS\Include\StrFunc.nsh" (UTF8)
        !define: "_STRFUNC_CREDITVERBOSITY" already defined!
        !include: error in script: "C:\Program Files (x86)\NSIS\Include\StrFunc.nsh" on line 15
        If I revert to NSIS V3.0b2 I can compile my scripts again without this error. What can be the reason?

        Comment


        • #5
          Originally Posted by TrifonovS View Post
          Today I installed NSIS V3.0b3. When I tried to compile my old scripts I got the following error:


          If I revert to NSIS V3.0b2 I can compile my scripts again without this error. What can be the reason?
          Trunk commit 6616 added this line:

          PHP Code:
          !define _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY
          Really it should look like this:

          PHP Code:
          !ifdef _STRFUNC_CREDITVERBOSITY
            
          !undef _STRFUNC_CREDITVERBOSITY
            
          !define _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY}
          !endif 
          "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
          NSIS 3 POSIX Ninja
          Wiki Profile

          Comment


          • #6
            Originally Posted by noisehole View Post
            There appears to be a syntax error in WinMessages.sh:

            moving the few "/math" starting at line 102 in front of the symbol names fixes it.
            This was a bug in 3.0b2 not 3.0b3?
            IntOp $PostCount $PostCount + 1

            Comment


            • #7
              Originally Posted by TrifonovS View Post
              Today I installed NSIS V3.0b3. When I tried to compile my old scripts I got the following error:


              If I revert to NSIS V3.0b2 I can compile my scripts again without this error. What can be the reason?
              Thanks, fixed. This only happens when StrFunc.nsh is included multiple times.
              IntOp $PostCount $PostCount + 1

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎