Share via


How to: Roll Back a ClickOnce Office Solution to an Earlier Version (2007 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

  • 2007 Microsoft Office system

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

When you create multiple versions of an Office solution, you can automatically go back to an earlier version. This process is called rolling back the solution, or a rollback.

Note

Local data is saved for only one previous version of a solution. If you roll back two versions, local data is not retained. For more information, see Deploying Office Solutions (2007 System) and Accessing Local and Remote Data in ClickOnce Applications.

To roll back to an earlier version

  1. Open the installation location of the Office solution.

  2. In the top-level publish folder, delete the deployment manifest (the .vsto file).

  3. Find the subfolder for the version you want to roll back to.

  4. Copy the deployment manifest from that subfolder to the top-level publish folder.

    For example, to roll back a solution called OutlookAddIn1 from version 1.0.0.1 to version 1.0.0.0, copy the file OutlookAddIn1.vsto from the OutlookAddIn1_1_0_0_0 folder. Paste the file into the top-level publish folder. This overwrites the version-specific deployment manifest for OutlookAddIn1_1_0_0_1 that was previously there.

    The next time the application or customized document checks for updates, the deployment manifest change is detected. The earlier version of the Office solution runs from the ClickOnce cache.

    For more information about the publish folder structure, see Publishing Office Solutions (2007 System).

See Also

Tasks

How to: Update Deployed Office Solutions (2007 System)

Concepts

Deploying Office Solutions (2007 System)

How to: Change the Installation Path of an Office Solution (2007 System)

Updating Solutions (2007 System)