How to check component (Feature)

Got a problem you cannot solve? Try here.
Post Reply
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

How to check component (Feature)

Post 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)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply