office2007静默安装方法

Auth:陈俊杰       Date:2013/05/15       Cat:电脑应用       Word:共3093字       Views:19.2K

公司给客户装的OFFICE都是完整版的,手动点下一步下一步有点麻烦,就在网上找看有没有静默安装的方法,没想到还真有,小弟不敢独自收藏,分享给诸位,创建一个txt文本,然后把下载的代码复制到文本里,另存为config.xml 文件即可,注意修改红色部分的注册码,这个大家懂得,要不然就是未注册的版本,然后把config.xml文件放到和office安装目录同级,然后创建一个txt文本,内容为 setup /config config.xml 保存为bat文件执行,office就开始安装了。有关下面各行代码的含义,大家可以看微软的知识库,这里就不一一点名了,自己去看说明文档。

地址是:http://technet.microsoft.com/zh-cn/library/cc179195(v=office.12).aspx

<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="1234567891234567891234567" />

   <!-- <USERNAME Value="Customer" /> -->    <!-- <COMPANYNAME Value="MyCompany" /> -->    <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->    <!-- <LIS CACHEACTION="CacheOnly" /> -->    <!-- <SOURCELIST Value="" /> -->    <!-- <DistributionPoint Location="" /> -->    <!-- <OptionState Id="OptionID" State="absent" Children="force" /> <OptionState Id="ACCESSFiles" State="Local" Children="force" /> <OptionState Id="TOOLSFiles" State="Local" Children="force" /> <OptionState Id="RMSFiles" State="Local" Children="force" /> <OptionState Id="SHAREDFiles" State="Local" Children="force" /> <OptionState Id="PPTFiles" State="Local" Children="force" /> <OptionState Id="OUTLOOKFiles" State="Local" Children="force" /> <OptionState Id="EXCELFiles" State="Local" Children="force" /> <OptionState Id="PubPrimary" State="local" Children="force" />    <OptionState Id="AceRepl" State="local" Children="force" />   <OptionState Id="CAGFiles" State="Local" Children="force" />

<OptionState Id="MSSOAP3" State="local" Children="force" />

<OptionState Id="OsaNonBoot" State="Local" Children="force" /> <OptionState Id="ProofingTools_1036" State="local" Children="force" /> <OptionState Id="ProofingTools_1031" State="local" Children="force" />

<OptionState Id="WISPFiles" State="local" Children="force" /> //handwriting    <OptionState Id="DocServicesFiles" State="local" Children="force" /> //docu update util    <OptionState Id="HTMLSourceEditing" State="local" Children="force" /> //script editor    <OptionState Id="DocumentImagingUtils" State="local" Children="force" /> //scanning,ocr,indexing    <OptionState Id="OISFiles" State="local" Children="force" /> //picture manager <OptionState Id="OSESupp" State="local" Children="force" /> //sharepoint support    <OptionState Id="QueryFiles" State="local" Children="force" /> //msQuery    <OptionState Id="VisioPreviewerFiles" State="local" Children="force" /> //visio viewer    <OptionState Id="XDOCSFiles" State="local" Children="force" /> //infopath <OptionState Id="GrooveFiles" State="local" Children="force" /> //groove <OptionState Id="OneNoteFiles" State="local" Children="force" /> //onenote <OptionState Id="RefIEBarFiles" State="local" Children="force" /> //research explorer bar <OptionState Id="WebDriveFiles" State="local" Children="force" /> //hosted webs <OptionState Id="VBAFiles" State="local" Children="force" /> //VB for applications <OptionState Id="OfficeDigitalSFiles" State="local" Children="force" /> //vba certificates     -->    <!-- <Setting Id="Reboot" Value="IfNeeded" /> -->    <!-- <Command Path="msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->

</Configuration>

除非注明,陈俊杰的博客文章均为原创,本文地址 https://www.chenjunjie.com/the-office2007-silent-installation-method,转载请以链接形式注明出处。

作者: 简介:

《office2007静默安装方法》留言数:2

发表留言 取消回复