as my subjects says i've the following problem:
if the subsection one is selected, the subsection two should automatically selected by installer. so the user must not select option two manually. the reason why i'm need this, is that option two is required for option one or with other words without installing option two option one isn't working afterwards the installation.
when option two is deselected option one also must automatically deselected.
...
InstType "Full"
InstType "Minimum"
InstType "Custom"
...
SectionGroup "first"
Section /o "option one"
SectionIn 1
...
SectionEnd
Section "option two" //is required and only needed when option one is selected
SectionIn 1 2
...
SectionEnd
Section "option three"
SectionIn 1
...
SectionEnd
...
SectionGroupEnd
SectionGroup "second"
...
SectionGroupEnd
... i've already searched for a solution, but i'm not sure about what to search. what i have found so far is that it should have to do something with the example one-section.nsi and .onSelChange and SectionSetFlags. problem is, what i've found so far doesn't seem approaching my problem.can anyone help?
graphically:
Sectiongroup first
[_] option one
[_] option two
[_] option three
...
user make his choice:
Sectiongroup first
[x] option one
[_] option two
[_] option three
...
so the installer sets option two automatically as selected:
Sectiongroup first
[x] option one
[x] option two
[_] option three
...