Archive: Controling Tree View List in installation


Controling Tree View List in installation
Greetings....

I am using NSIS scripts for installation of many s/w packages that are dependant on each other. I am placing all the packages in Tree view list and I am using components page and classic-cross.bmp. The check boxes get automatically enabled or disabled depending on parent-child relationship in the tree by default. I like to disable this feature and I like to have my own logic to enable/disable the checkboxes. I like to have the logic so generic like in such a way that I can disable the parent check box unchecked, when all its children are checked. (Currently parent check box automatically gets enabled when its children get enabled). Any Help on this.

Thanks for Consideration..

Regards,
-Gokulnath


check out SectionSetFlags, where you can adjust whether/how a section is checked.

It's a bit iffy, though, as the parent section's logic doesn't typically allow for what you're trying to do.

Put differently.. what you're trying to do isn't logical ;)


Hi

I think problem is in packages organization.

Reorganize packages and all will be ok