Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlNamespaces.InstallManifest Method

Office 2007
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 a XmlNamespaces object.

Parameters

NameRequired/OptionalData TypeDescription
PathRequiredStringThe path and file name of the XML expansion pack.
InstallForAllUsersOptionalVariantTrue 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. 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 example installs the SimpleSample smart document solution on the user's computer and makes it available only to the current user.

Bb209956.vs_note(en-us,office.12).gif  Note
The SimpleSample schema is included in the Smart Document Software Development Kit (SDK). For more information, see the Smart Document SDK.
Visual Basic for Applications
Application.XMLNamespaces.InstallManifest _
    "http://smartdocuments/simplesample/manifest.xml"



Community Additions

Show:
© 2014 Microsoft