1.下載office2016安裝包,解壓,將office文件夾剪切到桌面注盈。
2.去這個網(wǎng)站
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html
進行自定義安裝配置,導出configuration.xml到桌面斋否。
3.去這個網(wǎng)站下載Office2016部署工具
https://www.microsoft.com/en-us/download/confirmation.aspx?id=49117
將setup.exe放到桌面梨水。
4.以管理員身份運行cmd,執(zhí)行
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>