Επεξεργασία

Κοινή χρήση μέσω


Controlling Feature Selection States

You can control which feature installation options are available for users and applications to select by authoring the Feature table and Component table.

  • To prevent selection of the advertise state for a feature, include msidbFeatureAttributesDisallowAdvertise in the feature's Attributes field in the Feature table.
  • To prevent selection of the run-from-source or run-from-network states for a feature, include msidbComponentAttributesLocalOnly in the Attributes fields in the Component table for every component belonging to the feature. If a feature has no components, the feature always has the run-from-source and run-from-my-computer options available.
  • To prevent selection of the run-from-my-computer state for a feature, include msidbComponentAttributesSourceOnly in the Attributes fields in the Component table for every component belonging to the feature. If a feature has no components, the feature always has the run-from-source and run-from-my-computer options available.
  • New child features can be authored by including msidbFeatureAttributesFollowParent and msidbFeatureAttributesUIDisallowAbsent in the Attributes field of the Feature table.