Archive: logiclib and messagebox


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



${If} ${Cmd} `MessageBox MB_YESNO "Hello! Update?" IDYES`
; update
${Else}
;do not update
${EndUnless}

fantastic :)
yesterday, I converted a project to logicLib
seriously improves legibility

thanks