PDA

View Full Version : logiclib and messagebox


grahama
17th June 2005, 22:03
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
18th June 2005, 10:15
${If} ${Cmd} `MessageBox MB_YESNO "Hello! Update?" IDYES`
; update
${Else}
;do not update
${EndUnless}

grahama
18th June 2005, 19:20
fantastic :)
yesterday, I converted a project to logicLib
seriously improves legibility

thanks