Archive: MUI_LICENSEPAGE_RADIOBUTTONS problem


MUI_LICENSEPAGE_RADIOBUTTONS problem
Hello,

i am trying to use radio buttons with MUI but it refuses to compile. Here is my code:


!include "MUI2.nsh"
...
; pages
!insertmacro MUI_PAGE_WELCOME

!insertmacro MUI_LICENSEPAGE_RADIOBUTTONS
!insertmacro MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT "A"
!insertmacro MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE "D"
!insertmacro MUI_PAGE_LICENSE "license.txt"

!insertmacro MUI_PAGE_INSTFILES
...



I am getting following compile error:

!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_LICENSEPAGE_RADIOBUTTONS
!insertmacro: macro named "MUI_LICENSEPAGE_RADIOBUTTONS" not found!
Error in script "C:\...


Any ideas?

oops, i had to use Define instead of insertmacro. Sorry...