Uninstall VSTO plugin

installationms-officepluginsuninstallationvsto

When I doubleclick to install a VSTO plugin for Excel 2010 I get a message "unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.". This plugin was previously uninstalled using "uninstall program" window in control panel. So how do I reinstall the plugin?

I've also deleted the previous plugin from directory that is specified at HKCU\Software\Microsoft\Fusion\DownloadCacheLocation registry key.

All exceptions:
System.Deployment.Application.DeploymentException: Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.

at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)

at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

Best Answer

If you need to do this on a computer without the SDK installed you can run the following command:

rundll32 dfshim CleanOnlineAppCache

Source: http://www.nerdfurio.us/blog/post.aspx?id=004f104e-da73-df11-949e-001143eed2d5