Soundbytes
22nd November 2006 10:14 UTC
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
22nd November 2006 10:35 UTC
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.)
Soundbytes
22nd November 2006 11:10 UTC
Thanks! It works now :-)