Old 20th September 2010, 19:32   #1
Junior Member
Join Date: Aug 2010
Posts: 44
Components Dependency

Is there a tutorial example or reference on dynamically changing what components are selected/enabled on both the components page for installer and uninstaller?

For example an installer installs multiple COTS products and software packages, some are dependent on one another, so when a user selects a major component its dependent components are also selected for install/uninstall.

NSISNUB is offline   Reply With Quote
Old 20th September 2010, 21:40   #2
Afrow UK
Afrow UK's Avatar
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Use SelectSection/UnselectSection from Sections.nsh. You will also need to use the .onSelChange callback function. There are lots of examples if you search.

Afrow UK is offline   Reply With Quote
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