sfranklin
15th October 2004 13:37 UTC
silent installers, return codes
Searching the forum i notice that there are retrun codes for a slient installer, as:
0 - success
1 - abort called
is there anyway to return a different value here? Specifically i need to pass a few differenet codes to another installer.
thanks
Steve
kichik
15th October 2004 13:49 UTC
In the latest CVS version you can use SetErrorLevel. Note that you need to compile it from sources. The documentation also needs to be compiled. Use Docs\src\build.bat to build it.
sfranklin
15th October 2004 14:17 UTC
ok thanks for that. I cant use that in our current installer, as its due to be shipped very shortly, so unless you can think of a way to do that as a stopgap, i will wait until the next minor release (any idea when that is due?)
thanks again for your reply
kichik
15th October 2004 14:20 UTC
There is no way to do this in the current release, unless you want to change the source code. Next release is due next weekend.
sfranklin
15th October 2004 14:47 UTC
next weekend will be fine. I can be that patient :)
thanks for your help
kichik
15th October 2004 14:56 UTC
I should warn you that release dates have a tendency to get postponed a lot. A few months have usually passed between releases of NSIS. Each day that passed brought more changes that delayed it even more. We are trying to make shorter release cycles now, which is why 2.02 is due next weekend, only a month after 2.01 was released. I really hope it'll be released next weekend, but I can't promise.
sfranklin
15th October 2004 15:12 UTC
i dont think there is a developer anywhere who would like to be quoted on release dates, so i take your point. ;)