maninder singh
maninder singh

Reputation: 85

Check / uncheck all component checkboxes in Inno Setup

I have long list of components which in turn calls a sub setup file to installs the selected components. All the components comes with check box which user can select and deselect. I need a check box at the top clicking which will Check/Uncheck all in the component list.

Can this be done ?

Thanks for reading

Upvotes: 1

Views: 1506

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202272

Add a top-level master component:

[Components]
Name: "all"; Description: "All"; Types: full compact custom;
Name: "all\comp1"; Description: "Component 1"; Types: full compact custom;
Name: "all\comp2"; Description: "Component 2"; Types: full compact custom;
Name: "all\comp3"; Description: "Component 3"; Types: full compact custom;

enter image description here

Upvotes: 1

Related Questions