Archive: select only one?


select only one?
How can force the user to select only one option? I am using:

MUI2.nsh
MUI_PAGE_COMPONENTS

and I have several components, lets say something like this:

SectionGroup "Graphics" secGraphics

Section core secGraphicsCore
SectionIn 1 RO
SectionEnd

Section "Optional1" secOptional1
SectionEnd

Section "Optional2" secOptional2
SectionEnd

SectionGroupEnd


How can do I make the selection between the optional stuff be either 1 or 2 not and/or case?


I found this:http://nsis.sourceforge.net/RadioButtons
but it seems a very complicated solution to my basic problem, I am sure there must be some component that does what I want, I just dont know where to find it.


Look at Examples\one-section.nsi.

Stu


Thanks it worked like a charm :)