Archive: Dynamic Radio Buttons in InstallOptions


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


1. use WriteINIStr before displaying the page

2. use nsDialogs instead of InstallOptions


Also you can create two pages and show appropriate one based on some condition...
...but seriously: use nsDialogs


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