Old 23rd December 2005, 11:21   #1
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
That was actually needed and implemented differently in an old version of the NSIS package installer. Instead of clearing the selection of dependent sections, the required section was set to read-only and its name was suffixed with "(required)" when a dependent section was selected.

I prefer to allow the developer the freedom to implement the logic as required. However, I do agree this can be easier. The .onSelChange callback can be more powerful. It can, for example, receive information about what exactly happened instead of guessing according to saved states.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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