Archive: Components Checkbox


Components Checkbox
i have searched on the forum and other places but i coulnd find the answer to this question.

I have a nice installer with custompages, now i have a custompage viewed after the components page. This custompage includes some checkboxes, my question is...
Is it possible that when a user dont instal (for example) section 8 of the components he cant use (one of) the checkboxes on the custompage.

I hope it is possible, :rolleyes:

Sebas


yes, it is posible.

look in the docs for "SectionGetFlags"

check if your section is selected with "SectionGetFlags", and if not, modify "flags" in your ini file to "disabled".

hope it helps.


It's even easier to use the macro SectionFlagIsSet (see Sections.nsh).