We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
Talk:How can I use conditional execution (If ... EndIf equivalent)?
From NSIS Wiki
Jump to navigationJump to search
If you include "LogicLib.nsh" you can use If like this:
${If} $0 == "OK"
...
${Else}
...
${EndIf}
and many many more formats - see "LogicLib.nsh" in NSIS/include directory and "LogicLib.nsi" in NSIS/examples directory.