检测是否安装了 Exchange MAPI
自 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查 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.
在我看来德米特里的回答是不正确的。
HKEY_LOCAL_MACHINE\SOFTWARE\Clients
包含一个(默认)值。如果设置了该值,则将其设置为子项的名称。这可能是ExchangeMAPI
,但也可能是其他东西。就我而言,它设置为“Microsoft Outlook
”。在此子项下,您可以查找DLLPath
或DLLPathEx
值。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 beExchangeMAPI
, but it might also be something else. In my case it is set to "Microsoft Outlook
". Under this subkey, you can look for theDLLPath
orDLLPathEx
values.