Page 1 of 1

How to check component (Feature)

Posted: Tue Mar 21, 2006 9:18 am
by MikeFieger
Hi!

To get a similar look like MS Office I defined the following three components (Features) for my program.

Define Component: Main
Define Component: Main/Option1
Define Component: Main/Samples

I know that the first Component (Main) is not really a feature. It is the main program and it would make no sense if the customer would not install it.
As statet above, MS Office is similar: The first option is 'Microsoft Office', then come 'Microsoft Office Word', '...Excel' and so on.

My question is now: How can I disable the 'Next' button of the form 'componentstree' if the first component (Main) is not checked?
Or: How can I forbid unchecking the first component?

Any help would be appreciated!

8)

Posted: Tue Mar 21, 2006 3:19 pm
by MichaelNesmith
If you want the component to be always selected, you can just force selection using the Set Component State command. Or, you can even not define that component, and define the truly optional components only.