Archive: select components


select components
i have a installation with three components
now i want that the user only can choose if he follow this rules:

( ) component 1
( ) component 2
( ) component 3

-the first component must be selected

-if u select the third it will automatically selected the second (it will install 1,2,3)

-the second can be selected without the third (it will install 1,2)

how can i make this?

After that i have to know which selcetion the user have choosen, because every installposibility will install a specified txt document.


thx for help and sorry for my bad english


Checkout the included example one-section.nsi, it contains the logic of what you're looking for. All it takes is some editing to get the desired result.