Archive: Invalid command: ${NSD_Check}


Invalid command: ${NSD_Check}
I am following the tutorial at http://nsis.sourceforge.net/Docs/nsD...tml#step-state

which was going fine until I added this:

${If} $Checkbox_State == ${BST_CHECKED}
${NSD_Check} $Checkbox
${EndIf}

I get this error:
warning: unknown variable/constant "{BST_CHECKED}" detected, ignoring (macro:_==:1)
!insertmacro: end of _If
Invalid command: ${NSD_Check}

My version:
MakeNSIS v2.35 - Copyright 1995-2008 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Do I need a more recent version?


Using the latest release is always a good idea I guess.
Besides that, make sure that you have:

!include nsdialogs.nsh

Thanks, Red Wine
I downloaded 2.37 and now it works. I must have corrupted some file.
Lawrence