Detect if Exchange MAPI is installed

Starting with Exchange 2007, MAPI is no longer installed when you install Exchange. On these systems, this installation is required in addition to Exchange if you want to use MAPI.

My software depends on Exchange MAPI, so I need to determine if it is installed. How can I reliably check if MAPI is installed on the local computer? The first prize will be if I can also find out if there is its Exchange MAPI or MAPI look, as well as its 32-bit or new 64-bit.

+3
source share
2 answers

Check if the HKEY_LOCAL_MACHINE \ SOFTWARE \ Clients \ Mail \ ExchangeMAPI key exists and is reading the string value of the DllPathEx. The Exchange (stand-alone) version for MAPI is always 32 bits. The 64-bit version of MAPI is only installed if bit 64 is set for Outlook 2010.

+2
source

It seems to me that Dmitryโ€™s answer is incorrect.

HKEY_LOCAL_MACHINE\SOFTWARE\Clientscontains value (default). If this value is set, it is set to the name of the subkey. It may be ExchangeMAPI, but it may be another. In my case, it is set to " Microsoft Outlook". In this section you can find the values โ€‹โ€‹of DLLPathor DLLPathEx.

+2
source

Source: https://habr.com/ru/post/1757960/


All Articles