DOCa Cola
25th May 2003 08:56 UTC
"-" switch in Section command not working
Can somebody try to use the following code with the latest cvs?
Section -Test
SectionEnd
When i use the (-) switch before an section name the compiler gives the error message "Error: Section already open, call SectionEnd first"
I tested this in a new clean script were no sections were opened previously
DOCa Cola
deguix
25th May 2003 11:25 UTC
What is better, post here or post in the "New in latest CVS version" the answer?
Afrow UK
25th May 2003 11:37 UTC
Try using
Section "-Test"
SectionEnd
-Stu
deguix
25th May 2003 11:44 UTC
I'm not using the latest now (I got it at yesterday, 2:00 PM here), and is working. Now I'm downloading the latest... [EDIT]and I tried to run !InstallNSIS.bat but give this:
Section: "-post"
Error: Section already open, call SectionEnd first
Error in script "Examples/makensis.nsi" on line 631 -- aborting creation process
And I cannot install the latest version of NSIS![/EDIT]
DOCa Cola
25th May 2003 11:53 UTC
Originally posted by Afrow UK
Try using
Section "-Test"
SectionEnd
-Stu
This does not work too
Thats strange, i haven't changed anything on that code since it last worked...
DOCa Cola
25th May 2003 11:55 UTC
i just took the example1.nsi and changed the section name to...
Processing script file: "C:\Documents and Settings\DOCa Cola\Desktop\example1.nsi"
Name: "Example1"
OutFile: "example1.exe"
InstallDir: "$PROGRAMFILES\Example1"
DirText: "This will install the very simple example1 on your computer. Choose a directory" "" ""
Section: "-1231"
Error: Section already open, call SectionEnd first
Error in script "C:\Documents and Settings\DOCa Cola\Desktop\example1.nsi" on line 25 -- aborting creation process
deguix
25th May 2003 11:59 UTC
After these posts, is right that the command Section got a bug on the lastest change in MakeNSIS.exe.
DOCa Cola
25th May 2003 11:59 UTC
btw. i downloaded the latest cvs in a zip file now (usually i use the updater) and it won't compile itself too (!InstallNSIS.bat)
Error: Section already open, call SectionEnd first
Error in script "Examples/makensis.nsi" on line 631 -- aborting creation process
kichik
25th May 2003 13:59 UTC
Fixed, thanks.