dboboc
8th January 2003 17:23 UTC
Starting with section unselected
Hi all,
I try to make an installation kit which has to start with a section not selected. All I tried with SectionGetFlags/SectionSetFlags had no results. I can make it bold but I can't touch the selection state of the section.
Can anyone had the same problem ?
TIA.
kichik
8th January 2003 18:24 UTC
If you are using 1.98 see http://nsis.sourceforge.net/archive/....php?pageid=59.
If you are using 2 see Examples\one-section.nsi.
You basically need to set the section flags in .onInit.
dboboc
9th January 2003 10:07 UTC
I think there is a bug in NSIS 2: The use of SectionSetFlags to select/unselect on init a section is override by SectionIn directive.
So I still not know how to use SectionSetFlags to unselect a section on init if I have several installation types. Without InstType is working well.
kichik
9th January 2003 13:08 UTC
If you want to set the initial section selection when using Installation types put the default InstType first. If for some reason you prefer not to set the sections from .onSelChange when it is called for the first time.