Archive: Check components are valid


Check components are valid
Hello,

I have a components page where there are two choices. The user is only allowed to make ONE choice.

Ideally I would like to have a couple of radio buttons so the user can only choose one,

or how can I check and validate the options proceeding onto the install step?

Any help would be much apprciated.


you're probably looking for something like this...
http://nsis.sourceforge.net/Mutually_Exclusive_Sections

"
# It allows only one of two sections to be selected at any
# given time, but unlike one-section, it allows nither
# to be selected as well.
"

Or for 'one-section' (mentioned in the above as well); it is an example that is included with the NSIS download (c:\program files\%nsis%\Examples\one-section.nsi).