Skip to content
⌘ NSIS Forum Archive

Comparing strings and executing code if some value

3 posts

Tertsi#

Comparing strings and executing code if some value

How can you compare if a string is some value and then execute certain code accordingly? I couldn't find this on the manual.
Afrow UK#
You didn't look hard enough!
See Chapter 4 > Instructions > Flow Control Instructions

Or you can try LogicLib
!include "LogicLib.nsh"

See Examples\LogicLib.nsh

-Stu