Archive: More about sections...


More about sections...
I know... there are about 1 million posts about this.
But I still can't see the light.


I'm working on a script that installs some files depending on the OS version; since I need this script to be run on every OS (excluding WfW), I do the OS detection with .OnGuiInit (Using MUI - so I use MUI_CUSTOMFUNCTION_GUIINIT).
I've organized the three collection of files in three sections, one for (and only) each OS.

The problem is that, after some tests with "one-section.nsi" and "Sections.nsh", I can't get the list of the sections as read-only and the only section i need as selected.

Any help appreciated. :D

P.S.: maybe someone could write a full, in-depth "HOWTO" for advanced working and/or tricking with Sections...:confused:


P.S.: maybe someone could write a full, in-depth "HOWTO" for advanced working and/or tricking with Sections...
I think the same thing, I know all the NSIS codes except the Sections ones (doing basic things is all right, but with several switches is difficult), and I'm here more than 2 years. But I never used it for my installers (Yes, NEVER)...