Reference/IfErrors
From NSIS Wiki
Jump to navigationJump to search
IfErrors
jumpto_iferror [jumpto_ifnoerror]
Checks and clears the error flag, and if it is set, it will goto jumpto_iferror, otherwise it will goto jumpto_ifnoerror. The error flag is set by other instructions when a recoverable error (such as trying to delete a file that is in use) occurs.
ClearErrors File file.dat IfErrors 0 +2 Call ErrorHandler
Command introduced with NSIS v1.2g