Is it possible to add 2 numbers to Native NSIS (without using libraries)?
Var hasVersion9
Var hasVersion10
Var hasVersion9Or10
IntCpy $hasVersion9Or10 hasVersion9+hasVersion10
(IntCmp $hasVersion9Or10 1 OR IntCmp $hasVersion9Or10 2) doThis doThat
Can I also perform the "Or" operation on string comparisons?
StrCmp $myVar ("1" OR "11") doThis doThat
source
share