Skip to content
⌘ NSIS Forum Archive

If-Then Structure

4 posts

Benni_P#

If-Then Structure

Hello,
i'm quiet new to NSIS,
but something I don't understand is how can I make an If-Then thing?
Like this:
If (Var1 And Var2) = 0 Then
 MsgBox "Program is not running!"
Else
 If (Var1 And Var2) <> 0 Then
  MsgBox "Program is running! Quit it."
 End If
End If