In this treeview, each entry will have an associated context menu, allowing the user to decide which features should be installed and how. The menu defaults to the following entries:
* There seems to be a bug in Windows Installer. With features having no files inside, this entry will appear in the context menu even if you use the attributes outlined above to remove it. In this case, add an empty component (with no files inside) to the feature.
Using various attributes of Feature
, some of these items can be removed or modified, leaving only those that make sense for the feature in question. Basically, there are five possibilities: to install the feature on the local hard drive, to let it run from the installation media, to run it from the network, to install on demand (the feature will be installed when the user tries to activate it for the first time; this is only supported on more recent operating systems) and to not install it at all.
This feature will be installed when required
will be removed from the context menu. The user is not allowed to install this feature on demand.This feature will be installed when required
will appear in the context menu. The user is allowed to install this feature on demand.This feature will be installed when required
will only appear in the context menu, allowing the user to install the feature on demand, if the operating system supports this.This feature, [and all subfeatures,] will be installed on local hard drive
will appear in the context menu.This feature, [and all subfeatures,] will be installed to run from CD
will appear in the context menu instead of the original entry ...installed on local hard drive
.This feature will not be available
will appear in the context menu. The user can decide whether to install this feature or not.This feature will not be available
will be removed from the context menu. The feature is always required, the user is not allowed to turn its installation off.