先进入该网站进行配置

https://config.office.com/deploymentsettings

可以选择导入我的,再自己定义

配置文件,点击下载

然后下载office配置工具 https://www.microsoft.com/en-us/download/details.aspx?id=49117

运行,下面是官方的命令help

Office Deployment Tool

Setup [mode] [path]

Setup /download [path to configuration file]
Setup /configure [path to configuration file]
Setup /packager [path to configuration file] [output path]
Setup /customize [path to configuration file]
Setup /help

 /download Downloads files to create an Office installation source
 /configure Adds, removes, or configures an Office installation
 /packager Produces an Office App-V package from an Office installation source
 /customize Applies settings for Office applications