How to: Update Deployed Office Solutions (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 update a Visual Studio Tools for Office solution, use the Publish Wizard to republish the solution to the publish location. The Publish Wizard automatically updates the entire solution with a new version.
Installed solutions automatically check for updates and install them, unless you set the update interval to Never. For more information, see Publishing Office Solutions (2007 System).
Updating a Deployed Solution
To update a deployed solution
Ensure that the solution is set up to provide the correct evidence for the security checks.
If the old solution is signed with a trusted certificate, sign the updated solution with the same certificate. If the certificate has expired or cannot be reused, use a certificate that is trusted at the enterprise level.
If the inclusion list was used for trust but the zone has been disabled by the ClickOnce trust prompt key, the solution will be disabled.
If the signing key was changed, trust must be re-established in the inclusion list, or the certificate must be trusted at the enterprise level. If the trust is pre-established, the first version will be uninstalled and the updated version will be installed.
If the new certificate is trusted at the enterprise level, then the update takes place with no prompting.
If the new certificate is not trusted, a trust prompt is displayed to the user, if the prompt is allowed.
Use the Publish Wizard to publish the updated Office solution to the same directory as the previous version. For more information, see How to: Deploy an Office Solution by Using ClickOnce (2007 System).
The Office solution is published to a folder at the same directory level as the old solution, but with an incremented version number. The application and deployment manifests are replaced, so the user is automatically directed to the new version the next time the solution checks for updates.
Copy the solution files to the installation location, if it is different from the publish location. Keep the folders and files in the same relative positions.
Updating the Install Location of a Solution
To change or update the install location of a solution
Uninstall the old version. See How to: Uninstall a ClickOnce Office Solution (2007 System).
Install the new version from the new install location. See How to: Install a ClickOnce Office Solution (2007 System).