Skip to content
⌘ NSIS Forum Archive

Disabled by default

5 posts

Thor#

Disabled by default

Hi guys,
little question ...
How can i make a section disabled (not installed) by default ?

Thanks in advance ...
Koen van de Sande#
Try & have a look at the 'SectionIn' command.
If you have 3 install types (Full, Minimal, and Custom), you can specify:


Section TestFullOnly
SectionIn 1 ;it's only selected when full is selected)
That should do the trick.
Guest#
Don't put a SectionIn for the part you want disabled, but still selectable. That should do the trick I believe.
Edgewize#
Temporary solution: use my modified version of 1.44 and the new Section /UNCHECKED flag. http://edgewize.cjb.net/

Alternate solution: install the NSIS source code (or my source code for 1.44e) and change the behavior for install sections

Long-term solution: pester Justin about it until he adds something for this in the official release.