Skip to content
⌘ NSIS Forum Archive

uncheckable radiobutton?

4 posts

empezar#

uncheckable radiobutton?

I have these 2 options in my installer that i dont want to be installed together

so the options are

install #1
install #2
install none

but using radiobuttons like so:

Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${MAPTEXTURES}
!insertmacro RadioButton ${MAPTEXTURESLOW}
!insertmacro EndRadioButtons
FunctionEnd
... makes them ununcheckable (see that double negation?) once checked..
Afrow UK#
It would be easier to include a dummy Section that does nothing and include it as a radio button.

-Stu
empezar#
is there any way of figuring out what checkbox that had it's status changed in an .onSelChange?
Afrow UK#
No doubt it's possible but nobody has bothered trying to get it to work. You'd need to create your own version of the RadioButton macros set.

-Stu