Skip to content
⌘ NSIS Forum Archive

Help needed, sections problem

3 posts

Kaboon#

Help needed, sections problem

Go ahead an call me a noob, but I've got a problem I can't solve. 😁


Section "One"
File "One"
SectionEnd

Section "Two"
File "Two"
SectionEnd

SectionDivider

Section "Three"
File "Three"
SectionEnd
What I want, in the component section to select "One" and/or "Two". "Three" is just optional. I've tried several things but "One" always stayed checked. And that's not supposed to be. 🙂
rainwater#
You must have one required section so nsis chooses the first. Put another required section before that one and it will work:

Section -
nop
SectionEnd

Also make sure you have the latest nsis as the previous one had a bug using sectiondivider.