FeatureInstall Property

         Example         Applies To

Returns or sets how Microsoft PowerPoint 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 Default. A trappable run-time automation error is generated when uninstalled features are called.
msoFeatureInstallOnDemand 1 A dialog box is displayed prompting the user 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 with error trapping routines to exclude end-user feature installation.

Note   If you refer to an uninstalled presentation design template in a string, a run-time error is generated. The template is not installed automatically regardless of your FeatureInstall property setting. To use the ApplyTemplate method for a template that is not currently installed, you first must install the additional design templates. To do so, select one in the New dialog box (File menu) or install the Additional Design Templates for PowerPoint by running the Microsoft Office 2000 installation program (available through the Add/Remove Programs icon in Windows Control Panel).