Поделиться через


VSTOInstaller Error Codes

You can use the Visual Studio Tools for Office installer tool (VSTOinstaller.exe) to install an Office solution without opening a Microsoft Office application. For more information, see Deploying Office Solutions.

Applies to: The information in this topic applies to document-level projects and application-level projects for Microsoft Office 2010 and the 2007 Microsoft Office system. For more information, see Features Available by Office Application and Project Type.

The following error codes are returned by VSTOinstaller.exe.

Error Code

Definition

0

One of the following scenarios occurred:

  • The VSTOinstaller help was shown.

  • The solution was successfully installed.

  • The solution was successfully uninstalled.

-100

Check for the following possibilities:

  • Some command-line options were set multiple times. Ensure that each option is set only once.

  • At least one command-line option is not valid.

Type "vstoinstaller /?" to view the help. For more information, see Customizing Office Solution Installation.

-101

At least one command-line option is not valid. Type "vstoinstaller /?" to view the help.

-200

The deployment manifest URI is not valid. Type "vstoinstaller /?" to view the help.

-201

The solution could not be installed because the deployment manifest is not valid. For more information, see Deployment Manifests for Office Solutions.

-202

The solution could not be installed because the Visual Studio Tools for Office section of the application manifest is invalid. For more information, see Application Manifests for Office Solutions.

-203

The solution could not be installed because of a download error. Check the deployment manifest URI or network file location, and try again.

-300

The solution could not be installed because of a security exception. For more information, see Securing Office Solutions.

-400

The solution could not be installed.

-401

The solution could not be uninstalled.

-500

The operation has been canceled. One of the following scenarios occurred:

  • The solution could not be installed.

  • The solution could not be uninstalled.

  • The deployment manifest could not be downloaded.

See Also

Reference

Deployment Manifests for Office Solutions

Application Manifests for Office Solutions