I couldn't find anything about this anywhere and I have no idea how to do it, so I'm going to post here.
I'm looking for a way to prevent clicking component groups from interacting with any child component selections, while still keeping the current functionality of my installer.
This is what my installer currently does.
And this is what I want to prevent.
Why?
Accidentally clicking on a component group and having every child setting mass enabled or disabled is annoying when you have to go back and re-configure every setting that it touched. While this isn't that bad for small amounts of options, my installer will have quite a lot of settings to choose from.
It also interacts oddly with my current radio groups.
My current .nsi file is below.
Help needed with the components page.
3 posts
The .onSelChange callback does not allow you to block a change so to actually poll this off you might have to store the state for all items and detect changes you don't like and restore everything back.
Just thinking out load, so not sure if it works (cannot test it myself ATM), but you could try setting the SectionGroup at readonly first, and after that remove the readonly flag from each subitem (SectionSetFlags in Sections.nsh).
However, a partially selected readonly group does not have a suitable icon (http://forums.winamp.com/showthread.php?t=244573), so it may become annoying for your users.
The only other option is the one mentioned by Anders.
However, a partially selected readonly group does not have a suitable icon (http://forums.winamp.com/showthread.php?t=244573), so it may become annoying for your users.
The only other option is the one mentioned by Anders.