How can I manually install PIA Office 2007 on a computer without Office installed?

I saw a few more questions regarding Office 2007 PIAs , in particular:

This question is different.


In my experience, it is not possible to install Office PIA Office 2007 when Office 2007 is not already installed on the computer. I run MSI, it displays a dialog for about 5-7 seconds, saying "Please wait while Windows configures the primary assembly of the Interaction Assemblies Office 2007 ..." and then the dialog disappears and nothing has changed.

In particular, there are no Office assemblies in the GAC.

If I do something wrong, please correct me. At the moment, I assume that this is the expected behavior and that the leading answers to this other question are incorrect.


This leads us to my actual question. Assuming my experience installing PIA without preinstalling Office is expected, is it possible to install PIA manually in the GAC?

My goal is to allow compilation of a project that depends on the PIA. I do not expect the application to launch. I do not ask if it is possible to run an application that uses PIA when Office is not installed. I know the answer to this question. I ask if PIA can be installed to allow compilation of the project on the build machine, without first installing Office.

I tried unzipping the o2007pia.msi file with msiexec /a , but without joy. But I was able to use lessmsi to manually extract the files in MSI.

I thought to try gacutil -i each of the gacutil -i from the MSI file, for example:

 10/26/2006 09:17 PM 1,276,720 Microsoft.Office.Interop.Excel.dll 10/26/2006 08:02 PM 150,320 Microsoft.Office.Interop.Graph.dll 10/26/2006 09:42 PM 146,232 Microsoft.Office.Interop.InfoPath.dll 10/26/2006 09:42 PM 404,296 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 10/26/2006 09:41 PM 88,896 Microsoft.Office.Interop.InfoPath.Xml.dll 10/26/2006 09:06 PM 903,992 Microsoft.Office.Interop.MSProject.dll 10/26/2006 08:24 PM 17,208 Microsoft.Office.Interop.OneNote.dll 10/26/2006 08:55 PM 920,376 Microsoft.Office.Interop.Outlook.dll .... 

But I also see these points:

 10/26/2006 09:00 PM 900 Policy.11.0.Microsoft.Office.Interop.Access.config 10/26/2006 09:18 PM 12,104 Policy.11.0.Microsoft.Office.Interop.Access.dll 10/26/2006 08:56 PM 898 Policy.11.0.Microsoft.Office.Interop.Excel.config 10/26/2006 09:17 PM 12,096 Policy.11.0.Microsoft.Office.Interop.Excel.dll 10/26/2006 07:53 PM 898 Policy.11.0.Microsoft.Office.Interop.Graph.config 10/26/2006 08:02 PM 12,096 Policy.11.0.Microsoft.Office.Interop.Graph.dll .... 

What should I do with these policy DLLs and configuration files?

Can I ignore them? Thanks for any advice you can provide.

+4
source share
1 answer

Yes, you can ignore them.

However, you do not need to put the PIA in the GAC at all.
You can simply reference the local copy of the PIA in the version control tree.

+3
source

All Articles