How to: Roll Back a ClickOnce Office Solution to an Earlier Version (2007 System)
The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.
Microsoft Office version
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.
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
Open the installation location of the Office solution.
In the top-level publish folder, delete the deployment manifest (the .vsto file).
Find the subfolder for the version you want to roll back to.
Copy the deployment manifest from that subfolder to the top-level publish folder.
For example, to roll back a solution called OutlookAddIn1 from version 18.104.22.168 to version 22.214.171.124, 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).