Skip to content
⌘ NSIS Forum Archive

Retrieve error messages?

1 posts

HenrikG#

Retrieve error messages?

Hi!

The IfErrors instruction and the error flag are good features, but is there some way of getting the last error as a string? This is what I want:


...
IfErrors 0 +3
DetailPrint "Error: ${LATEST_ERROR_MESSAGE}"
Goto end
...