Skip to content
⌘ NSIS Forum Archive

Graying Out Install option help

5 posts

SoKoOLz#

Graying Out Install option help

Hi,
I've searched the forum about this already but didnt find what I'm looking for.
I want to ask you guys about making the install option unable to uncheck(grayout).

For now, I can only make the first install option graying out but I can't make others option the same as the first one.

here is my graying out code:
Function .onInit

!insertmacro MUI_LANGDLL_DISPLAY
;Grayout Main section
SectionSetFlags SecMain 17
SectionSetFlags SecFonts 17
SectionSetFlags SecGadgets 17
SectionSetFlags SecGadgetsInst 17

FunctionEnd
See my screenie: