Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Check components are valid (http://forums.winamp.com/showthread.php?t=300635)

RBIBBY 4th December 2008 10:23

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.

Animaether 4th December 2008 11:42

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).


All times are GMT. The time now is 04:42.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.