Skip to content
⌘ NSIS Forum Archive

How to make a component mandatory?

3 posts

Soundbytes#

How to make a component mandatory?

Is there a way to make a component (on the components page) mandatory?
I need to display all components in the list. It should not be possible though to deselect the main program. Is that possible and how would I do it?

Thanks!
pengyou#
Use SectionIn's RO flag as described in the manual:


(If you specify RO as a parameter, then the section will be read-only, meaning the user won't be able to change its state.)