How to check component (Feature)

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

How to check component (Feature)

Postby MikeFieger » Tue Mar 21, 2006 9:18 am

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:

Postby MichaelNesmith » Tue Mar 21, 2006 3:19 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 169 guests