Skip to content
⌘ NSIS Forum Archive

logiclib and messagebox

3 posts

grahama#

logiclib and messagebox

how do you integrate logiclib with messagebox ?

like:
messageBOX MB_YESNO "Hello" IDYES update IDNO noupdate
${IF} $0 == "update"
; update
${ELSE}
;do not update
${ENDIF}

what is the correct syntax for this ?
the logiclib.nsi messagebox example seemed a bit cryptic

g
glory_man#

${If} ${Cmd} `MessageBox MB_YESNO "Hello! Update?" IDYES`
; update
${Else}
;do not update
${EndUnless}
grahama#
fantastic 🙂
yesterday, I converted a project to logicLib
seriously improves legibility

thanks