检测是否安装了 Exchange MAPI

发布于 2024-09-12 23:34:52 字数 388 浏览 0 评论 0原文

自 Exchange 2007 起,安装 Exchange 时不再安装 MAPI。在这些系统上此安装<如果您想使用 MAPI,除了 Exchange 之外还需要 /a>。

我的软件依赖于 Exchange MAPI,因此我需要检测它是否已安装。如何可靠地测试本地计算机上是否安装了 MAPI?如果我还可以知道它是 Exchange MAPI 还是 Outlook MAPI,以及它是 32 位还是新的 64 位,那么一等奖将是。

Since Exchange 2007, MAPI is no longer installed when Exchange is installed. On these systems this install is needed in addition to Exchange if you want to use MAPI.

My software depends on Exchange MAPI, so I need to detect if its installed. How can I reliably test if MAPI is installed on the local machine? First prise will be if I can also know if its Exchange MAPI or outlook MAPI and if its 32 bit or the new 64 bit.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝颜夕 2024-09-19 23:34:52

检查 HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\ExchangeMAPI 项是否存在并读取 DllPathEx 字符串值。
MAPI 的 Exchange(独立)版本始终为 32 位。
仅当安装了 Outlook 2010 64 位时,才会安装 64 位版本的 MAPI。

Check if HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\ExchangeMAPI key exists and read the DllPathEx string value.
Exchange (standalone) version fo MAPI is always 32 bit.
64 bit version of MAPI is only installed if Outlook 2010 64 bit is installed.

短叹 2024-09-19 23:34:52

在我看来德米特里的回答是不正确的。

HKEY_LOCAL_MACHINE\SOFTWARE\Clients 包含一个(默认)值。如果设置了该值,则将其设置为子项的名称。这可能是 ExchangeMAPI,但也可能是其他东西。就我而言,它设置为“Microsoft Outlook”。在此子项下,您可以查找 DLLPathDLLPathEx 值。

It seems to me the answer of Dmitry isn't correct.

HKEY_LOCAL_MACHINE\SOFTWARE\Clients contains a (Default) value. If this value is set, it is set to the name of a subkey. That might be ExchangeMAPI, but it might also be something else. In my case it is set to "Microsoft Outlook". Under this subkey, you can look for the DLLPath or DLLPathEx values.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文