How to: Install a ClickOnce Office Solution

End users can install document-level customizations and application-level add-ins by doing the following:

  • Running the Setup program that is created when you publish your solution. For information about the Setup program, see Publishing Office Solutions by Using ClickOnce.

  • Opening the deployment manifest file, which ends with the extension .vsto.

  • Opening a customized document or workbook, if the prerequisites are already installed and the security policy is set up to grant trust to the solution.

End users can uninstall an Office solution the same way that they uninstall other applications on the computer.

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

To install by using the Setup program

  1. Start Setup.exe to start the installation.

    • The Setup program checks for prerequisites and installs them as necessary if the user account has administrative privileges.

      For more information, see Office Solution Prerequisites for Deployment.

    • The Visual Studio Tools for Office runtime verifies the identity of the publisher and the permissions that are granted to a customization

      For more information about the security checks performed by the Visual Studio Tools for Office runtime, see Securing Office Solutions.

    • Depending on the certificate and level of permissions, a ClickOnce trust prompt might appear.

      For more information, see Granting Trust to Office Solutions.

  2. Run the customization or add-in in the application:

    • For document-level customizations, you can open the document that contains the customization directly from the installation location, or you can copy the document to your local computer and then open the file. If the document remains on a network file share, the network location must be added to the trusted locations of the Trust Center in the Microsoft Office application.

      For more information, see Granting Trust to Documents.

    • For application-level add-ins, open the application.

To install by opening a deployment manifest .vsto file

  1. Open the deployment manifest .vsto file to start the installation.

    Note

    This method requires you to have the Visual Studio Tools for Office runtime already installed. Also, this installation method does not check for prerequisites. For more information, see Office Solution Prerequisites for Deployment.

    • The Visual Studio Tools for Office runtime verifies the identity of the publisher and the permissions that are granted to a customization.

      For more information about the security checks performed by the Visual Studio Tools for Office runtime, see Securing Office Solutions.

    • Depending on the certificate and level of permissions, a ClickOnce trust prompt might appear.

      For more information, see Granting Trust to Office Solutions.

  2. Run the customization or add-in in the application:

    • For document-level customizations, you can open the document that contains the customization directly from the installation location, or you can copy the document to your local computer and then open the file. If the document remains on a network file share, the network location must be added to the trusted locations of the Trust Center in the Microsoft Office application.

      For more information, see Granting Trust to Documents.

    • For application-level add-ins, open the application.

To install a document-level customization by using Microsoft Office

  • Open the document to start the installation.

    Note

    This method requires you to have the Visual Studio Tools for Office runtime and .NET Framework already installed. Also, this installation method does not check for prerequisites. For more information, see Office Solution Prerequisites for Deployment.

    • The Setup program checks for correct permissions in the Trust Center of the Microsoft Office application, and correct evidence, such as signing the manifests with a known and trusted certificate or installing the Office solution to the Program Files directory.

    • Depending on the certificate and level of permissions, a ClickOnce trust prompt might appear.

      For more information, see Granting Trust to Office Solutions.

See Also

Tasks

How to: Install Prerequisites on End User Computers to Run Office Solutions

Concepts

Office Solution Prerequisites for Deployment

Other Resources

Securing Office Solutions

Deploying Office Solutions

How to change or remove a program in Windows XP

Windows Vista Help: Uninstall or change a program