Archive: Can NSIS generate a return code?


Can NSIS generate a return code?
I've been searching around for a while and I can't seem to find any references to it. Can an NSIS-based executable drop a return code as it exits that gets passed back to the executable that called it? I know how to call something FROM an NSIS app and get the return code back, but I'd like to be able to have something else call an NSIS exe and get a return code back from it.

Thanks!
John


See SetErrorLevel and Error Levels.


Awesome. Thanks for the link.