0
votes

I have written a VSTO for Outlook with a formregion for meeting/appointmentitems in VS 2015. I deploy this to our desktop computers using ClickOnce.

I would like to use the Windows Installer to install the VSTO for laptops because when I use ClickOnce and the laptop uses Outlook when not connected to the corporate network, the add-in is disabled. I assume this is because it cannot reach the internal ClickOnce publish location, eventhough the deployment should not check for updates.

I have followed this article to create an installer for the addin.

I followed the all-users steps and the files are installed to the local computer and the registry keys are being created but the Add-in is not loaded in Outlook and it even is not showing up in the list of Addins in Outlook.

Anyone who has had similar issues and knows how to solve this problem? It's driving me crazy for the past 2 days.

1
There is no such central repository. Your addin most likely gets disabled on startup because of a run-time error.Dmitry Streblechenko
You have got it correct @DmitryStreblechenko, there was a runtime error that occured. I was able to see the error using the system environment variables VSTO_SUPPRESSDISPLAYALERTS = 1 and VSTO_LOGALERTS = 1. Then a message popped up that there was an issue and logfile identified what was the problem. How can I accept your reply as the answer to my question?der_roedie
I reposted the comment as an answer. Thank you!Dmitry Streblechenko

1 Answers

0
votes

There is no such central repository. Your addin most likely gets disabled on startup because of a run-time error.