shiva21
15th June 2011 11:54 UTC
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
Yathosho
15th June 2011 14:00 UTC
1. use WriteINIStr before displaying the page
2. use nsDialogs instead of InstallOptions
T.Slappy
16th June 2011 07:23 UTC
Also you can create two pages and show appropriate one based on some condition...
...but seriously: use nsDialogs
shiva21
21st June 2011 15:15 UTC
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