Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 29th June 2004, 15:09   #1
michaelmross
Junior Member
 
Join Date: Jun 2004
Posts: 19
Line 40 Error with !insertmacro UpgradeDLL

Has anyone come across this? I'm using the UpgradeDLL.nsh straight from the \Include directory, and the compiler is complaining about line 40 and aborting!
michaelmross is offline   Reply With Quote
Old 29th June 2004, 15:26   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Please attach your script.
Joost Verburg is offline   Reply With Quote
Old 29th June 2004, 15:58   #3
michaelmross
Junior Member
 
Join Date: Jun 2004
Posts: 19
Script attached.
BTW I have all the files in the same dir as the script.

Thanks.
Attached Files
File Type: nsi tasktracker.nsi (4.6 KB, 60 views)
michaelmross is offline   Reply With Quote
Old 30th June 2004, 01:38   #4
michaelmross
Junior Member
 
Join Date: Jun 2004
Posts: 19
OK, I solved my problem.
First, I misunderstood the error and thought the line number referred to the macro.
Then I was racking my brains about what was wrong with my !insertmacro command.
Turns out, the only thing wrong with it was its position. Evidently, it has to be in a section, whereas I was just assuming it could be with the other !insertmacro statements.
So now it's in the "MainSection", and working fine.
michaelmross is offline   Reply With Quote
Reply
Go Back   Winamp 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