How to create a "VSTO"-setup package in Visual Studio 2019?

  • Thread starter Thread starter ino_mart
  • Start date Start date
I

ino_mart

Guest
All

I created a VSTO (Outlook Add-In) which works fine on the machine where I have Visual Studio 2019 installed.
I installed the “Microsoft Visual Studio Installer Projects” and created a setup.exe (and setup.msi) according instructions. I did add the “Primary output” of my project. The setup-project automatically adds some dependencies. I can rebuild the setup-project and the EXE and MSI are created.


When I use the "setup.exe" (or setup.msi) the setup works as expected and files are copied to the given folder in the setup-project. However, when I launch Outlook the “add in” is not visible in the toolbar whereas it does show up on my own computer. The add-in is neither visible under File - Options - Add-Ins (also not in “disabled items”). I tried to add the Add-in via the Browse button and double-clicked some of the files in the installation folder, but then I get errors it is not a valid plugin.

So how do I create a setup for a VSTO?

Continue reading...
 
Back
Top