thek
31st July 2006 16:33 UTC
makensis return/errorcode
Hello
I'm using makensis to automaticly create the setup files during the nightly build.
Does makensis provide some errorcode to check if the creation was sucessfull?
(e.g. if errcode != 0 jump to errorhandling)
The only way I found so far, is checking if a .exe file exist or to parse through the whole output file an check if a line starts with "error" :tinfoil:
Norbert
niteflyer
31st July 2006 17:32 UTC
Sorry, I was a bit too fast with the link: that's another topic. Makensis returns errorlevel 0 for errorfree scripts (including warnings) else errorlevel 1. Watch the "Exit Code" at the end of the compilerlog.
thek
1st August 2006 12:33 UTC
Okay
Thanks for the Answer
Suggestion to the Developers:
Probably you should add this to the Documentation? ;)