0

I have created a Installer for my Outlook add-in. It works fine on windows 8 and windows 7 with both 64 bit OS and 32 bit OS and office 2010 and 2013. My problem is with windows 7(64-bit) and MS Office 2007.

Registry entry is created fine in the location :

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Addins\myAddin

Also load behavior is 3 Load behavior is 3 when outlook is opened first time. But I noticed one more thing that if i go into inactive add-ins and try to activate my add-in then the load behavior changes to zero.

I have also checked "VSTO_SUPPRESSDISPLAYALERTS" for any vsto error messages or exception but no exceptions are there. Please help me out. Thanks in advance

4

2 回答 2

1

默认情况下,Outlook 2007 不会从 HKEY_LOCAL_MACHINE 加载加载项。幸运的是,微软在这里对此进行了修复:http: //support.microsoft.com/kb/976811

于 2013-08-12T11:42:14.027 回答
0

在没有安装 Office 2007 SP2 和 SP3 的情况下,我只找到了一种解决方案。即 HLKM 到 HKCU 注册表复制在以下链接中给出:

http://stackoverflow.com/questions/4819389/c-sharp-vsto-outlook-2007-strange-difference-between-hklm-and-hkcu?rq=1

http://blogs.msdn.com/b/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspx
http://blogs.msdn.com/b/mshneer/archive/2007/09/05/deploying-your-vsto-add-in-to-all-users-part-ii.aspx
于 2013-08-13T10:22:57.673 回答