开发者

VSTO Outlook AddIn disabled in Vista

开发者 https://www.devze.com 2022-12-19 00:31 出处:网络
We have an issue with an Outlook 2007 AddIn (created on a Windows 7 development machine with Visual Studio 2008/VSTO).

We have an issue with an Outlook 2007 AddIn (created on a Windows 7 development machine with Visual Studio 2008/VSTO).

It installs with the MSI installer on these machines:

- the development machine

- a Windows XP machine

Install initially succeeded on a Vista machine, but after installing an updated version of the AddIn, it gets disabled when starting Outlook. We suspect开发者_运维问答 it might be related to how Vista handles security.

Have anyone encountered issues specific to installing VSTO AddIn on a Vista machine?

(Please note that the AddIn in our case gets installed alright, but is 'just' disabled when starting Outlook.)


The add in might be throwing an exception. An unhandled exception causes the add in to be disabled.


We hit this issue on some random machines and after much head scratching, it turned out that Office.Interop was not installed on the client. We had assumed it would be installed with Office 2007 - which it appears to be in many cases.

0

精彩评论

暂无评论...
验证码 换一张
取 消