Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 31st October 2005, 19:20   #1
Nutrox
Junior Member
 
Join Date: Apr 2005
Posts: 8
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.
Nutrox is offline   Reply With Quote
Old 31st October 2005, 21:05   #2
John P.
Member
 
Join Date: Jun 2004
Posts: 94
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...
John P. is offline   Reply With Quote
Old 31st October 2005, 22:34   #3
Nutrox
Junior Member
 
Join Date: Apr 2005
Posts: 8
Your advise is good.. "SectionIn RO" works fine.

Thanks.
Nutrox is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump