Archive: How to make a component mandatory?


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!


Use SectionIn's RO flag as described in the manual:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.6.1.4

(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.)


Thanks! It works now :-)