Archive: Radiobutton analogue in Sections?


Radiobutton analogue in Sections?
Let's assume I have a couple of sections in a section group:

SectionGroup

Section "Sec1"
WriteRegStr ...
SectionEnd

Section "Sec2"
WriteRegStr ...
SectionEnd

SectionGroupEnd

and I want only one of them enabled (I.e. when one section is checked the other must be unchecked - as radiobutton usually do). Is there any way to do this? I've read all the documentation and searched topics in the forum but have not found anything related.


StartRadioButtons, RadioButton and EndRadioButtons macros in Sections.nsh.


Thank you very much, it works :)