Lync 2013 or SFB 2015 install breaks Office 2010 compatibility



Introduction

Following registry keys will be created if you install Lync 2013 or SFB 2015 on a machine running Office 2010.

HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}\9.5

HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.6

HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.8

HKEY_CLASSES_ROOT\TypeLib\{91493440-5A91-11CF-8700-00AA0060263B}\2.b

Lync 2013\SFB 2015 installation process adds registry entries for the Office 2013 automation libraries. If the machine is running Office 2010, it breaks the inter-operability with office products.

What are the errors expected ?

  1. PowerPoint found a problem with content in xxxx.ppt__PowerPoint can attempt to repair the presentation. If you trust the source of this presentation, click repair. There was an error access the file xxxxx.ppt
  2. Office interop libraries would stop working.
  3. Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: Library not registered.
  4. Many other interop libraries related issues.

Solution

The solution is to remove the offending registry keys, keeping the office 2010 version keys in place. I have created a batch file which I run as a post install script to remove these toxic keys.

Note : Registry changes are risky. Test the solution in lab before implementing it in production.



0 Comment