Old 27th December 2015, 12:37   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,105
Lightbulb 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
Anders is offline   Reply With Quote
Old 14th January 2016, 08:33   #2
meoit
Member
 
Join Date: Oct 2014
Location: $DESKTOP
Posts: 90
WOW!. I never thought that was an update earlier than I expected.
meoit is offline   Reply With Quote
Old 10th February 2016, 13:30   #3
noisehole
Junior Member
 
Join Date: Sep 2005
Posts: 22
There appears to be a syntax error in WinMessages.sh:

Quote:
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.
noisehole is offline   Reply With Quote
Old 10th February 2016, 14:27   #4
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 190
Today I installed NSIS V3.0b3. When I tried to compile my old scripts I got the following error:
Quote:
!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?
TrifonovS is offline   Reply With Quote
Old 11th February 2016, 10:13   #5
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 877
Quote:
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
JasonFriday13 is offline   Reply With Quote
Old 12th February 2016, 12:58   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,105
Quote:
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
Anders is offline   Reply With Quote
Old 12th February 2016, 13:02   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,105
Quote:
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
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
release

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