Udostępnij za pośrednictwem


Troubleshooting Office Solution Deployment (2003 System)

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • Microsoft Office 2003

For more information, see Features Available by Application and Project Type.

This section contains tips for solving common problems that you might encounter when you deploy Microsoft Office solutions by using Visual Studio Tools for Office.

The Default Setup Program Does Not Include All Prerequisites

Visual Studio Setup projects for Office 2003 solutions do not include the Visual Studio Tools for Office runtime, language packs, or the primary interop assemblies. However, you can manually add these components to the Setup project. For information about deploying prerequisites, see Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer (Part 1 of 2).

Program Does Not Set Security Policy

You can add a custom action to the Setup program to grant full trust to the customization assembly. For more information, see Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer (Part 1 of 2).

Program Does Not Run When Installed from an MSI File

If your project runs on the development computer but does not work on an end user computer when installed from a Windows Installer (.msi) file, it might not have full trust. Configure the security policy for the user to grant full trust to the solution. For more information, see Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer (Part 1 of 2).

Checking Whether Prerequisites Are Installed

You can use the Client TroubleShooter tool to help diagnose potential client-side issues when you deploy a Visual Studio Tools for Office solution. This tool scans the computer to check which Visual Studio Tools for Office prerequisites are installed and generates an HTML report, which includes how to resolve the issues.

For more information, see the Client Troubleshooter tool download page in the Microsoft Download Center.

See Also

Concepts

Deploying Office Solutions (2003 System)

Reference

Troubleshooting (How Do I in Visual Studio Tools for Office)