Variable that is set to redirected output of the STDOUT and STDERR handles from the most recently run external program or script.

Note that only programs that are started through CreateProcess() allow output redirection and that STDOUT and STDERR are typically only used by console mode programs. This implies that:

Note: The installer assumes that any output produced by the program on STDOUT or STDERR is encoded in the OEM code page (CP_OEMCP).


You can refer to this variable as <LastStdout>. In conditional expressions you can omit the brackets and simply use LastStdout as a test for any non-space output at all or NOT LastStdout for no output. This variable is automatically set by InstallMate when an external program runs. However, you may want to reset it (to an empty string, for example) under some circumstances.