Old 27th December 2016, 10:28   #1
toe_head2001
Junior Member
 
Join Date: Jan 2005
Posts: 3
Advanced Uninstall Log seems to have an issue with NSIS v3. Specifically, the UNINSTALL.LOG_CLOSE_INSTALL macro.


NSIS Output reads:
Quote:
!insertmacro: UNINSTALL.LOG_CLOSE_INSTALL
!undef expects 1 parameters, got 2.
Usage: !undef symbol
Error in macro UNINSTALL.LOG_CLOSE_INSTALL on macroline 9

It's referencing this line of code in the header file:
code:
!undef ID ${__LINE__}


I believe it should just be:
code:
!undef ID



Correct?
I'm not sure if the syntax in NSIS changed in v3, or if it just became more verbose with errors.
toe_head2001 is offline   Reply With Quote
Old 27th December 2016, 14:51   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Quote:
Originally Posted by toe_head2001 View Post
Correct?
Yes

Quote:
Originally Posted by toe_head2001 View Post
I'm not sure if the syntax in NSIS changed in v3, or if it just became more verbose with errors.

v3.0 is stricter in some places but it surprises me that v2.4x would accept that.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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