none
What all parameters need to consider to determine whether outlook is installer or not RRS feed

  • General discussion

  • I need to find programmatically whether the outlook is installer or not.

    1)Earlier we are relying in MAPI entry in win.ini file and registry to determine outlook installation.

        This MAPI entry in win.ini found in default windows installation. and uninstalling outlook 2013 remove MAPI entry from win.ini

         So, this solution wont work any more.

    2) In registry, To determine installation replying on HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office\x.x\Outlook

    But inside HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office able to find many folders like "11.0" "14.0" "15.0" "16.0"

    we are relying on above mentioned registry entry with "outlook" folder in it. 

    I have only installed office 2016, why it is showing all??

    Is there any better way to determine outlook installation across all the version and its bitness.


     

    Wednesday, April 12, 2017 4:17 AM

All replies

  • Check if there is the registry key corresponding to the Outlook.Application COM object.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, April 12, 2017 4:20 AM
  • Thanks for the reply.

    So can we rely only on outlook registry entry to determine installation, or is it required to check MAPI installation or its entry in INI file OR registry??

    Wednesday, April 12, 2017 4:36 AM
  • You can check MAPI installation, but it is a lot more involved, and there is no reason to do it unless you are trying to load the MAPI dlls.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, April 12, 2017 2:13 PM