FeatureInstall Property

         Example         Applies To

Returns or sets how Microsoft Word handles calls to methods and properties that require features not yet installed. Read/write Long.

Can be one of the following MsoFeatureInstall constants.

Constant Value Description
msoFeatureInstallNone 0 The default value. A generic Automation error is generated at run time when uninstalled features are called.
msoFeatureInstallOnDemand 1 The user is prompted to install new features.
msoFeatureInstallOnDemandWithUI 2 A progress meter is displayed during installation. The user isn't prompted to install new features.

Remarks

You can use the msoFeatureInstallOnDemandWithUI constant to prevent users from believing that the application isn't responding while a feature is being installed. Use the msoFeatureInstallNone constant if you want the developer to be the only one who can install features.

If you have the DisplayAlerts property set to False, users will not be prompted to install new features even if the FeatureInstall property is set to msoFeatureInstallOnDemand. If the DisplayAlerts property is set to True, an installation progress meter will appear if the FeatureInstall property is set to msoFeatureInstallOnDemand.