1、运行Office2016部署工具,勾选“Click here to...”,点击“Continue”
2、选择路径,为了方便这里选择桌面
3、打开桌面上的configuration.垓矗梅吒xml,吧里面的所有内容删掉,复制以下内容(以只安装Word、PowerPoint和Excel为例)<稆糨孝汶;Configuration> <Add SourcePath="X:\" OfficeClientEdition="64" > <Product ID="ProPlusRetail"> <Language ID="zh-CN" /><ExcludeApp ID="Access" /><ExcludeApp ID="Groove" /><ExcludeApp ID="InfoPath" /><ExcludeApp ID="Lync" /><ExcludeApp ID="OneNote" /><ExcludeApp ID="Outlook" /><ExcludeApp ID="Publisher" /><ExcludeApp ID="SharePointDesigner" /> </Product> </Add> </Configuration>注:X:\为虚拟光驱所在盘符,OfficeClientEdition后位系统框架64代表64位,32代表32位,根据你安装的版本确定;ExcludeApp表示不被安装的组件
4、以管理员身份CMD,运行下面的命令即可:setup.exe /configure configuration.xml注:先将当前路径更观鲼视防改为桌面,再运行;也可以只使用第二条命令,但命令中setup.exe和configuration.xml需替换为文件的完整路径。格式为路径\setup.exe /configure 路径\configuration.xml
5、进度条走完后就只有Word、PowerPoint和Excel得到保留,其他的都被删除了