1.微软官网下载office2016部署工具web
<Configuration> <Add SourcePath="V:\" OfficeClientEdition="64" > <Product ID="ProPlusRetail"> <Language ID="zh-CN" /> <ExcludeApp ID="Access" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="InfoPath" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="Outlook" /> <ExcludeApp ID="Publisher" /> <ExcludeApp ID="Skype for Business" /> <ExcludeApp ID="SharePointDesigner" /> </Product> <Product ID="VisioProRetail"> <Language ID="zh-CN" /> </Product> </Add> </Configuration>
注意缩进以及64位,SourcePath
是指虚拟光驱的盘符shell
cd /d Desktop
setup.exe /configure configuration.xml