Archive: Graying Out Install option help


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:
http://img170.imageshack.us/img170/386/nsisjp4.jpg

SectionIn RO


Thx for replying Red Wine. But where should I put that in?


Section "Main Files"
SectionIn RO
............
............


It works!
Thank you very much