|
|
#1 |
|
Member
|
Hidden sections within Section Groups
If I dynamically change a sections text to "" to hide the section, if the Section Group it is in is checked, does it also check the hidden section?
I want to make sure that if I dynamically hide a section (say because the needed files don't exist on the users system), I want to make sure that if the SectionGroup it is located within does not still try installing that section when it is hidden. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
If a section is hidden, I believe it will always be executed.
Edit: Well then, I have to hand you over to someone else as I don't know anything more on sections or section groups. "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile Last edited by JasonFriday13; 10th November 2005 at 06:16. |
|
|
|
|
|
#3 |
|
Member
|
Well ALL of my sections already have the /o switch in front of them, so by default my installer has no sections checked.
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
basic answer: yes
The text of a section is separate of its flags, and any subgroup/item - even if hidden - still gets selected/deseleted if the parent gets selected/deselected. Which means you basically have to add the following to the top of the sections that may get hidden; PHP Code:
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|