MS-Office 仅安装 Word、Excel、PowerPoint

Posted on 2023-04-23 14:07  不会写代码的  阅读(202)  评论(0编辑  收藏  举报

1.参考:
https://learn.microsoft.com/zh-cn/deployoffice/overview-office-deployment-tool

https://blog.csdn.net/qq_39506912/article/details/88070827
2.下载部署工具:
https://www.microsoft.com/en-us/download/details.aspx?id=49117
3.安装部署工具:windows中,双击直接安装。

4.修改配置文件:
使用文本编辑器,打开部署工具目录中的configuration-Office2019-x64.xml文件。
修改文件内容如下:
<Configuration>
<Add OfficeClientEdition="64" Channel="Current" SourcePath="D:\">
<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" />
<ExcludeApp ID="Visio" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
</Configuration>

5.CLI安装Office 2019
setup /configure configuration-Office2019-x64.xml

Copyright © 2025 不会写代码的
Powered by .NET 9.0 on Kubernetes