none
Microsoft Interop Library RRS feed

  • Question

  • A client asked if Microsoft Interop Library do require a license.

    I did not find any information on that but regarding to my search it should have something to do with Microsoft Primary Interop Assemblies for Office.

    Thursday, February 21, 2013 8:38 AM

Answers

  • Take a look into

    How to: Install Office Primary Interop Assemblies

    You must install the Microsoft Office primary interop assemblies (PIAs) in the global assembly cache of your development computer before you can perform certain development tasks. Typically, the PIAs are installed automatically when you install Office on the development computer. However, in some cases you might need to install the PIAs separately. For more information, see Configuring a Computer to Develop Office Solutions and Office Primary Interop Assemblies.

    You have the license for Office you have the license for PIAs.

    HTH


    with regards, Yuri

    Friday, February 22, 2013 5:06 AM
  • Hi BhupinderSarao

    Expanding a bit on Yuri's reply...

    You can only use the interop libraries if Office is actually installed on the machine. Even if the libraries are present (you copy them, for example) on a machine; if Office has not been installed the libraries will not execute.

    So, essentially, yes, using the libraries requires a license for the actual Office application.

    The Primary Interop Assemblies (PIAs) are .NET Framework wrappers for the actual Office libraries, which are COM *.tlb files. The presence of the PIAs will let you develop code with the necessary references for interacting with Office. But the PIAs, alone, cannot execute (you couldn't debug, for example). The PIAs require the corresponding *.tlb files to be present and correctly registered on the client machine.


    Cindy Meister, VSTO/Word MVP, my blog

    Friday, February 22, 2013 8:06 AM
    Moderator

All replies

  • Take a look into

    How to: Install Office Primary Interop Assemblies

    You must install the Microsoft Office primary interop assemblies (PIAs) in the global assembly cache of your development computer before you can perform certain development tasks. Typically, the PIAs are installed automatically when you install Office on the development computer. However, in some cases you might need to install the PIAs separately. For more information, see Configuring a Computer to Develop Office Solutions and Office Primary Interop Assemblies.

    You have the license for Office you have the license for PIAs.

    HTH


    with regards, Yuri

    Friday, February 22, 2013 5:06 AM
  • Hi BhupinderSarao

    Expanding a bit on Yuri's reply...

    You can only use the interop libraries if Office is actually installed on the machine. Even if the libraries are present (you copy them, for example) on a machine; if Office has not been installed the libraries will not execute.

    So, essentially, yes, using the libraries requires a license for the actual Office application.

    The Primary Interop Assemblies (PIAs) are .NET Framework wrappers for the actual Office libraries, which are COM *.tlb files. The presence of the PIAs will let you develop code with the necessary references for interacting with Office. But the PIAs, alone, cannot execute (you couldn't debug, for example). The PIAs require the corresponding *.tlb files to be present and correctly registered on the client machine.


    Cindy Meister, VSTO/Word MVP, my blog

    Friday, February 22, 2013 8:06 AM
    Moderator