XmlNamespaces.InstallManifest method (Excel)

Installs the specified XML expansion pack on the user's computer, making an XML smart document solution available to one or more users.

Syntax

expression.InstallManifest (Path, InstallForAllUsers)

expression A variable that represents an XmlNamespaces object.

Parameters

Name Required/Optional Data type Description
Path Required String The path and file name of the XML expansion pack.
InstallForAllUsers Optional Variant True installs the XML expansion pack and makes it available to all users on a machine. False makes the XML expansion pack available for the current user only. The default is False.

Remarks

For security purposes, you cannot install an unsigned manifest. For more information about manifests, see the Smart Document Software Development Kit (SDK)).

Example

The following example installs the SimpleSample smart document solution on the user's computer and makes it available only to the current user.

Note

The SimpleSample schema is included in the Smart Document Software Development Kit (SDK).

Application.XMLNamespaces.InstallManifest _ 
 "https://smartdocuments/simplesample/manifest.xml"

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.