1.下载office2016安装包,解压,将office文件夹剪切到桌面。
2.去这个网站
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html
进行自定义安装配置,导出configuration.xml到桌面。
3.去这个网站下载Office2016部署工具
https://www.microsoft.com/en-us/download/confirmation.aspx?id=49117
将setup.exe放到桌面。
4.以管理员身份运行cmd,执行
setup.exe /configure configuration.xml
或者
setup.exe /configure "configuration.xml"
2017.06.20使用的configuration.xml如下,只安装Word,Excel,PowerPoint:
<Configuration>
<Add Version="16.0.7967.2161 " OfficeClientEdition="64" Channel="Current">
<Product ID="O365ProPlusRetail">
<Language ID="zh-cn"/>
<ExcludeApp ID="OneDrive"/>
<ExcludeApp ID="Outlook"/>
<ExcludeApp ID="OneNote"/>
<ExcludeApp ID="Lync"/>
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="Access"/>
<ExcludeApp ID="Publisher"/>
</Product>
</Add>
</Configuration>
网友评论