Archive: Components Dependency


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.


cheers,


Use SelectSection/UnselectSection from Sections.nsh. You will also need to use the .onSelChange callback function. There are lots of examples if you search.

Stu