3

Any one know of a way to install MS Office Primary Interop Assemblies without installing having to install office itself?

Kara
  • 6,115
  • 16
  • 50
  • 57
rd42
  • 3,584
  • 15
  • 56
  • 68

4 Answers4

5

Nope, not possible, or useful. There is no sense installing libraries designed so you can interoperate with Office, if there is no Office to interoperate with. (Note, you need a full licence for whatever office product you are using trough Interop too).

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Martijn
  • 11,964
  • 12
  • 50
  • 96
  • 7
    A reasonable and common scenario is a build/CI server -- where the application is built, but will never run. Thus the interop assemblies are needed (for compilation) but an instance of Office is not. – Michael Teper Nov 27 '12 at 00:35
3

The use of this would be for setting up an automated build machine for continuous integration purposes.

Patrick
  • 31
  • 1
0

You need to install Office Tools for Visual Studio (VSTO).

The assemblies will be installed here:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA
Der_Meister
  • 4,771
  • 2
  • 46
  • 53
  • link to an executable? was that... intentional? – Code Jockey Aug 26 '15 at 16:53
  • You can find the link on this page: http://blogs.msdn.com/b/cesardelatorre/archive/2014/03/03/new-office-developer-tools-for-visual-studio-2013-march-2014-update-news-in-sharepoint-development.aspx – Der_Meister Aug 27 '15 at 09:53
0

Primary Interopr is only interop libraries - this is something like bridges between your application and Office dll's,

That is why to create word file, or any other functionality of MS Office, you will need to have installed Office.

Just think - if no, there will be millions of open source office applications which will be build on top of Interops:)

dimko1
  • 872
  • 7
  • 15