Skip to content
⌘ NSIS Forum Archive

Disable components?

3 posts

Nutrox#

Disable components?

Hi guys.


I'm allowing the user to choose which items (components) they want to install ( !insertmacro MUI_PAGE_COMPONENTS ) and I was just wondering how I can disable a component so that the user can not toggle it.

For example, the first component might be a required file, and I need to be able to prevent the user from unchecking it from the component list.


Hope that makes sense. 🙂
John P.#
Sounds to me like

Section "your section"
SectionIn RO
;content goes here
SectionEnd

would do the trick?

-I'm kinda new at this myself, so maybe I shouldn't be giving out advice...