We have some limited installations of Office which do not include Outlook. In this case, the 32 bit XLL is incorrectly registered, because the "bitness" registry entry for Outlook is used to determine if 32 or 64 bit should be used:
|
RegistryKey rkBitness = localMachineRegistry.OpenSubKey(@"Software\Microsoft\Office\" + szOfficeVersionKey + @"\Outlook", false); |