MAPackager is a command-line utility that packages the Extensible Management Agent for distribution.

Syntax

MApackager /e:ma_file /c:customization_file /o:output_file

Command-Line Options

Command-line option Description

/e: ma_file

The name of the XML file that contains the server configuration of the extensible management agent that you want to distribute. To create a server configuration file, open Synchronization Service Manager and select Export Server Configuration on the File menu.

/c: customization_file

The name of the XML file that contains the customization information for the enterprise connectivity management agent.

/o: output_file

The name of the XML file that the MAPackager creates that combines the configuration information and the server configuration of the extensible management agent.

Error Messages

Error message Description

The file filename already exists.

A file that has the specified file name already exists. Specify another file name for the output file.

Failed to load customization file filename.

An error occurred when loading the customization file into the utility. Verify that the customization file is in an XML format.

Failed to parse customization file filename.

An error occurred when reading the customization file. Verify that the customization file has the required XML elements.

Failed to load management agent file filename.

An error occurred when loading the server configuration file into the utility. Create a new server configuration file.

Failed to process management agent file filename.

An error occurred when processing the server configuration file into the utility. Create a new server configuration file.

Zero or more than one XML element tags found.

The customization file is missing XML elements, or an XML element is repeated. Add the missing XML elements, or remove the extra XML elements.

Element XML element does not have a value.

The specified XML element is missing a value. Add a value that meets the requirements of the specified element.

Element XML element exceeds the 255 character limit.

The contents of the specified XML element exceeds 255 characters. Reduce the contents to 255 characters or fewer.

Duplicate switch command-line option.

The specified command-line option is repeated. Use the specified number of command-line options.

Missing switch command-line option.

The command is missing an option. Use the specified number of command-line options.

The management agent file provided has already been packaged.

The specified management agent was previously packaged. You can package a management agent only one time. Create a new management agent XML file to package.

The management agent file provided is not type Extensible.

The specified management agent is not an extensible connectivity management agent. The Management Agent Packaging Tool can package only extensible connectivity management agents.

ma-internal-version: Input string is not an integer.

The <ma-internal-version> element does not contain an integer. Change the contents to an integer number.

Element XML element is not defined in the schema.

The XML file contains an element that is not in the schema. Verify that the XML file contains elements that are in the schema.

See Also