Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error deploying VSTO Office addin

I'm having some issues deploying a Visio addin. Running the VSTO file works on my computer, but whenever I try and move it to any other user's computer it throws an error on deployment. I thought it might be a setting I'd set in the project properties so I created an entirely new plugin project and set it to display a message box on startup. The error I'm getting is:

An error occured during customization install.
The expected element "addIn" was not found in the XML.

deployment error

like image 366
zeocrash Avatar asked Apr 28 '10 10:04

zeocrash


1 Answers

This is caused by an issue with Clickonce. I found a workaround by installing the addin using MSI. This Guide was a lot of help.

Taken from the section about registry settings for the msi installation:

It is important to note the ‘|vstolocal’ value appended to the end of the Manifest value. This informs the VSTO runtime that it is locally installed and to not invoke the ClickOnce installer.

like image 52
zeocrash Avatar answered Sep 27 '22 23:09

zeocrash