XMLNamespaces.InstallManifest Method (Word)

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 An expression 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

Boolean

True installs the XML expansion pack and makes it available to all users on a computer. False makes the XML expansion pack available for the current user only. 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) on the Microsoft Developer Network (MSDN) Web site.

Example

The following code 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). For more information, refer to the Smart Document SDK.

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

See Also

Concepts

XMLNamespaces Object Members

XMLNamespaces Collection