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...
7 posts
Usage: !define [/ifndef | /redef] ([/date|/utcdate] symbol [value]) | (/file symbol filename) | (/math symbol val1 OP val2)moving the few "/math" starting at line 102 in front of the symbol names fixes it.
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
!include: "C:\Program Files (x86)\NSIS\Include\StrFunc.nsh" (UTF8)If I revert to NSIS V3.0b2 I can compile my scripts again without this error. What can be the reason?
!define: "_STRFUNC_CREDITVERBOSITY" already defined!
!include: error in script: "C:\Program Files (x86)\NSIS\Include\StrFunc.nsh" on line 15
Trunk commit 6616 added this line:Originally Posted by TrifonovS View PostToday 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?
!define _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY} Really it should look like this:!ifdef _STRFUNC_CREDITVERBOSITY
!undef _STRFUNC_CREDITVERBOSITY
!define _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY}
!endif This was a bug in 3.0b2 not 3.0b3?Originally Posted by noisehole View PostThere 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.
Thanks, fixed. This only happens when StrFunc.nsh is included multiple times.Originally Posted by TrifonovS View PostToday 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?