|
|
#1 |
|
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!
|
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Please attach your script.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2004
Posts: 19
|
Script attached.
BTW I have all the files in the same dir as the script. Thanks. |
|
|
|
|
|
#4 |
|
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|