Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSIS Installer Error Flag

Tags:

nsis

In some of the NSIS Installer documentation, it says that if some operation fails, the error flag will be set. Is the error flag just a boolean value or is a specific code that indicates what error occurred? If it is a code, how do I access it to log it out?

like image 488
Jeff Storey Avatar asked Mar 29 '12 17:03

Jeff Storey


1 Answers

It is just a boolean flag, use ClearErrors, IfErrors and SetErrors to clear/detect/set it. (This flag is set by the internal instructions, most plugins use other methods but it is also possible for a plugin to set/clear it)

like image 63
Anders Avatar answered Oct 19 '22 23:10

Anders