Archive: push string to parent instance?


push string to parent instance?
i'm using an nsis installer that calls another (nsis) installer as a child instance. however, the user can abort the child - i'd like it to send a string to the parent instance in the case the child was aborted. preferably, i don't want to use the registry or an ini-file in order to do so. any suggestions maybe?


if you are using execwait to run the child installer, then get the result errorlevel. You can set the errorlevel in the child installer, it has 3 it uses by default.. just search for setErrorLevel and "Error Levels" in the help file


Yes, I'd do it with the Exit Code too.

But if you really need to exchange a string between two installers, the easiest way would be using an INI file or the registry.