![]() |
#1 |
Junior Member
Join Date: Aug 2021
Posts: 5
|
Error Handling
Is there any resource in the documentation/threads or plugins that I could be directed towards for error handling?
I've been trying to google but only finding errors people have had with NSIS installers not implementing error handling I'm talking install/uninstall abort/fail handling In built function errors non-happy paths etc Would it mostly be including Detailprint around functions and making macros? What kind of resources are there for verifying files installed correctly etc |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Most functions set the error flag and you can check that with IfErrors or ${If} ${Errors}
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Aug 2021
Posts: 5
|
Thanks. even having the right terms to google is much appreciated.
|
![]() |
![]() |
![]() |
|
Tags |
nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|