Return value of NSIS installer
I have a setup that is downloading and running an NSIS installer from an external (non NSIS) app and I want to do something in the NSIS installer (or enable something already present in the NSIS installer) so that the other launching process can detect if the NSIS installer completed successfully or if it failed (or was canceled or whatever)
How can I do this?