我在XP下用如下命令测试静默安装:\\server\share\Office12\setup.exe /config \\server\share\Office12\Updates\unattend_config.xml
确认客户端的任务管理器里已经开始在跑setup.exe进程了,但过一会就再没什么反应了。查看事件日志提示
Setup cannot install one of the required products for Microsoft Office Enterprise 2007.
这个日志好像是说没有指定一个安装选项,不知道问题出在哪里。
后来又用OCT建立一个2007MSP文件,指定了无介面安装企业版,然后执行
setup.exe /adminfile \\server\share\Office12\Updates\ custom.msp
程序并没有静默安装而是跳出了安装选项对话框,没有做到静默安装2007企业版,不知道问题出在哪地方。
unattend_config.xml是这样的:
<Configuration Product="Enterprise">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Logging Type="standard" Path="%temp%" Template="Microsoft Office Enterprise Setup(*).txt" />
<PIDKEY Value="xxx" />
<USERNAME Value="Customer" />
<COMPANYNAME Value=" Corporation" />
<INSTALLLOCATION Value="%programfiles%\Microsoft Office" />
<LIS CACHEACTION="CacheOnly" />
<SOURCELIST Value="\\server\share\Office12 " />
<!-- <DistributionPoint Location="\\server\share\Office12" /> -->
<!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->
<!-- <Setting Id="Reboot" Value="IfNeeded" /> -->
<SetupUpdates SUpdateLocation="\\server\share\Office12 " />
<Command Path="%windir%\system32\msiexec.exe" Args="/i
\\server\share\Office12\ Enterprise.WW\EnterpriseWW.msi" QuietArg="/q" ChainPosition="after" Execute="install" Wait="0" />
</Configuration>
还请microsoft的大侠们提供一个解决方法。