Create MSI file from c# outlook addin in VS 2013

◇◆丶佛笑我妖孽 提交于 2019-12-02 08:39:28

Take a look at the Deploying an Office Solution section in MSDN. It describes two possible options for deploying your Office solution in depth:

It is up to you which way is to choose.

I was able to build it and ran the installation file(.exe) from disks folder and it is installing but not showing anything in the outlook.

There are multiple reasons why you don't see your add-in in Office applications.

First of all, make sure that you did all the steps described in the previously mentioned articles. Then I'd suggest checking the required windows registry keys for COM add-ins, see Registry Entries for Application-Level Add-Ins for more information.

Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in.

Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your add-in is executing.

Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the Startup event handler is executing.

You can read more about that in the How to: Re-enable an Add-in That Has Been Disabled article in MSDN.

Finally, you may also check out the Trust Center settings in Outlook. The Macro Security settings can be applied to add-ins as well. May be it is required to sign the add-in with a digial signature and etc.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!