我怎么能手动安装安装2007 PIA的一台电脑,没有办公室的办公室? [英] how can I manually install the Office 2007 PIAs on a computer with no Office installed?

查看:650
本文介绍了我怎么能手动安装安装2007 PIA的一台电脑,没有办公室的办公室?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到关于<一个其他几个问题href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=59daebaa-bed4-4282-a28c-b864d8bfa513&displaylang=en"相对=nofollow> Office 2007的PIA的,特别是:

  • Can you install Office 2007 PIA's without office? (3)
  • Is Office 2007 PIA deployment possible without Office 2007?

这个问题是不同的。

在我的经验,所以无法安装Office 2007的PIA的,当Office 2007的尚未在计算机上安装。我运行MSI,它会显示约5-7秒钟说:请稍候,Windows配置Office 2007的主互操作程序集...,然后在对话框消失,并没有什么似乎已经改变了对话。

In my experience, it is not possible to install Office 2007 PIAs when Office 2007 is not already installed on the machine. I run the MSI, it displays a dialog for about 5-7 seconds saying "Please Wait while Windows configures Office 2007 Primary Interop Assemblies..." and then the dialog disappears, and nothing appears to have changed.

最值得注意的是,也有在GAC没有Office组件

Most notably, there are no Office assemblies in the GAC.

如果我做错了什么,请大家指正。现在我假设,这是预期的行为,以及领先的答案<一个href="http://stackoverflow.com/questions/450674/can-you-install-office-2007-pias-without-office">this另一个问题,是错误的。

If I am doing something wrong, please correct me. For now I am assuming that this is the expected behavior, and that the leading answers to this other question, is wrong.

这让我们想到我的实际问题。假设我的经验,在安装PIA的,而没有首先安装Office是所预期的,有可能是我为手动安装PIA的到GAC?

Which leads us to my actual question. Assuming my experience installing the PIAs without first having installed Office is the expected one, is it possible for me to install the PIAs "manually" into the GAC?

我的目的是为了让依赖于PIA的一个项目的汇编。我不希望来运行应用程序。我不问是否有可能运行使用PIA的时候没有安装Office的应用程序。我知道这个问题的答案。我问是否可以安装PIA的,允许在构建机上项目的编制,没有先安装Office。

My purpose is to allow compilation of a project that depends on the PIAs. I don't expect to run the application. I am not asking if it is possible to run an app that uses the PIAs when Office is not installed. I know the answer to that. I am asking if it is possible to install the PIAs to allow compilation of a project on a build machine, without first installing Office.

我试着解包o2007pia.msi文件 MSIEXEC / A ,但没有喜悦。但是,我能够使用 lessmsi 微星内手动解压缩文件。

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

我想尝试 GACUTIL -i 分别来自MSI文件中的DLL,像这样的:

I was thinking to try to gacutil -i each of the DLLs from the MSI file, like these:

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 items:

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
....

我该怎么做这些政策DLL和配置文件?

What do I do with these Policy DLLs and config files?

我可以忽略它们?
感谢您的任何建议可以提供。

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

推荐答案

是的,你可以忽略它们。

Yes, you can ignore them.

不过,你不需要把PIA的,在海关总署的。
你可以简单地引用PIA的的本地副本在你的源代码控制树。

However, you don't need to put the PIAs in the GAC at all.
You can simply reference a local copy of the PIAs in your source control tree.

这篇关于我怎么能手动安装安装2007 PIA的一台电脑,没有办公室的办公室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆