1
votes

I create VSTO outlook add-in and create installer using WIX. It works okay. But if I remove add-in using File->Options->Add-ins->Manage Com Add-ins->Remove and then try to add it back using File->Options->Add-ins->Manage Com Add-ins->Add it shows error - "xxxxx/MyAddIn.dll is not valid Office Add-in". What can be the problem? Does it same for all VSTO add-ins?

1

1 Answers

0
votes

It is for unmanaged add-ins that implement the IDTExtensibility2 interface. In case of VSTO based add-in a loader file should be shown there typically. You need to build the add-in project in Visual Studio if you want to get it back in Office applications. Or just add the required windows registry keys for the add-in, see Registry Entries for VSTO Add-ins for more information.