Skip to content
⌘ NSIS Forum Archive

radio checkbox in subsection

3 posts

XNeo#

radio checkbox in subsection

insttype "type1"
insttype "type2"
insttype "type3" ;full

subsection /e "subsection0"

section "ex1"
sectionin 1 2 3
end section

section "ex2"
sectionin 3
end section

sunsectionend

SubSection /e "subsection1"

subSection /e "subsection1-1"

Section "blabla" section_21
SectionIn 1 2 3
SectionEnd

subsection /e "subsection2-1"

Section "menu1" g1o1
SectionEnd

Section /o "menu2" g1o2
SectionEnd

SubSectionEnd

SubSectionEnd
------------------------------------------------------
i make this script \NSIS\Examples\one-section.nsi
this script is work.
but start exe, all components is all checked.
subsection0's and subsection1's and subsection2's components
is all checked.(without menu2)
plz solve this problem....
Yathosho#
you have to use SectionIn in all of your sections.

example:

if you want an section to be selected in full install mode (type3) only, use "SectionIn 3"
Comm@nder21#
if u dont want to let the user choose another installtype than those three default, write another insttype:
InstType /NOCUSTOM