Skip to content
⌘ NSIS Forum Archive

Dynamic Radio Buttons in InstallOptions

4 posts

shiva21#

Dynamic Radio Buttons in InstallOptions

I have a config file. Based on the data in it I need to have Radio Buttons in the InstallOptions. How this can be done ?

Can I have a predefined count of Radio Buttons in the INI file and hide the unwanted ones.

-Shiva S
T.Slappy#
Also you can create two pages and show appropriate one based on some condition...
...but seriously: use nsDialogs
shiva21#
I tried to create nsDialog using NSDialogDesigner. I created the needed nsddef and nsdinc files. I included the nsddef in the main nsh file, but I get the following error

!insertmacro: end of MUI_HEADER_TEXT
Invalid command: ${NSD_CreateGroupBox}
!include: error in script: "sites.nsdinc" on line 46


I have included following

!include Sections.nsh
!include MUI2.nsh
!include nsDialogs.nsh

How would I resolve this issue.

-Shiva S