Old 12th August 2021, 14:18   #1
Symbicort
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
Symbicort is offline   Reply With Quote
Old 12th August 2021, 16:33   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,420
Most functions set the error flag and you can check that with IfErrors or ${If} ${Errors}

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 13th August 2021, 12:34   #3
Symbicort
Junior Member
 
Join Date: Aug 2021
Posts: 5
Thanks. even having the right terms to google is much appreciated.
Symbicort is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
nsis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump