Archive: silent installers, return codes


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


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.


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


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.


next weekend will be fine. I can be that patient :)

thanks for your help


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.


i dont think there is a developer anywhere who would like to be quoted on release dates, so i take your point. ;)