静默安装VS2008安装程序先决条件 [英] Silent Install of VS2008 installer prerequisites
问题描述
我无法安装先决条件。安装程序是为VSTO outlook添加的,但我不知道这会改变什么。先决条件是
- .Net3.5
- VSTO运行时3
- Office 2007 PIA
- Windows Installer 3.1
我已经解决了这个问题,今天花了很多时间研究这个问题。在我可以解决的情况下,无提示安装bootqrap的prereq是在c:\program files \ Microprosoft SDKs \ Windows \ v6.0a \ Bootstrapper \Packages \中找到的product.xml文件中完成的。 NAME_OF_PREREQ \
以下是我的product.xml对Office2007PIARedist的摘录
< Commands Reboot =" Defer">
<命令
PackageFile =" o2007pia.msi"
Arguments =" / quiet"
EstimatedInstalledBytes =" 7000000"
EstimatedInstallSeconds =" 60">
此处的关键字是Arguments =" / quiet"。这告诉我它应该安装没有提示。为什么然后当我运行我的setup.exe时,我会看到提示吗?
除了没有Commands节点的.net3.5之外,上面的例子类似于所有的先决条件? / p>
有人可以提供建议吗?
提前致谢,
Mark
嗨mark_stevo,
您是否看到Office2007PIARedist安装UI在安装过程中?如果您只看到显示先决条件安装进度的进程栏,则它不是Office2007PIARedist
安装UI。
请问您可以尝试使用/ qn启动安装程序吗?根据文件
http://msdn.microsoft.com/en-us/library /aa367988%28v=VS.85%29.aspx
/ q,/ qn在安装过程中应该没有UI。
真诚,
Kira Qian
如果您对我们的支持有任何反馈,请联系
msdnmg @ microsoft .COM 跨度> 跨度>
I'm having trouble having prerequisites install silently. The installer is for a VSTO outlook add in but I don't see how that would change anything. The prereq's are
- .Net3.5
- VSTO runtime 3
- Office 2007 PIA
- Windows Installer 3.1
I've google'd this problem and spent a lot of time today looking into this. As far as I can work out, having the bootstrapped prereq's install silently is done in the product.xml file found in c:\program files\Microsoft SDKs\Windows\v6.0a\Bootstrapper\Packages\NAME_OF_PREREQ\
Here is an extract from my product.xml for Office2007PIARedist
<Commands Reboot="Defer">
<Command
PackageFile="o2007pia.msi"
Arguments="/quiet"
EstimatedInstalledBytes="7000000"
EstimatedInstallSeconds="60">
The key line here is Arguments="/quiet". This suggests to me that it should install with no prompts. Why then when I run my setup.exe do I see prompts?
The example above is similar for all prereqs except for the .net3.5 which doesn't have the Commands node?
Can anyone advise?
Thanks in advance,
Mark
Hi mark_stevo,
Do you see the Office2007PIARedist installation UI during the installing? If you only see a process bar showing the prerequisite installing progress, it is not the Office2007PIARedist install UI.
Could you please try to launch the installer with /qn? According to the document
http://msdn.microsoft.com/en-us/library/aa367988%28v=VS.85%29.aspx
/q, /qn should be no UI during installation.
Sincerely,
Kira Qian
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
这篇关于静默安装VS2008安装程序先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!