How to: Roll Back a ClickOnce Office Solution to an Earlier Version
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 and Accessing Local and Remote Data in ClickOnce Applications.
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.
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 126.96.36.199 to version 188.8.131.52, 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 by Using ClickOnce.