Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install VSTO WITHOUT using Clickonce

I just created my first VSTO Add-In for Excel. I'm trying to find a way to install the add-in on the end users machine easily.

If I copy the the .dll and try to add it from the COM Add-Ins manager in Excel I get this error:

<ProjectName>.dll is not a valid Office Add-in.

If I use the publish wizard, it does not give me an option to select where to install the files on the client PC. Instead, it uses the path to the installation files.

So, how can I install my VSTO add-in without using the publish wizard (AKA clickonce)?

like image 222
Drew Chapin Avatar asked Feb 09 '12 19:02

Drew Chapin


1 Answers

You should be using Visual Studio Setup Project and add your vsto project output. See this deployment walkthrough guide on using VSTO 4.0.

like image 179
SliverNinja - MSFT Avatar answered Oct 03 '22 04:10

SliverNinja - MSFT