bookmark_border从微软官方下载安装office2019vol

前往微软官网,下载Office Deployment Tool (ODT) ,下载地址为

Download Office Deployment Tool from Official Microsoft Download Center

https://www.microsoft.com/en-us/download/details.aspx?id=49117

下载之后解压,得到4个文件,其中两个文件是我们需要的,分别是

  • setup.exe
  • configuration-Office2019Enterprise.xml

用文本编辑工具打开xml文件,配置需要下载安装的文件。例如:

<Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2019"> <Product ID="ProPlus2019Volume"> <Language ID="zh-cn" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="Access" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="Teams" /> </Product> <Product ID="VisioPro2019Volume"> <Language ID="zh-cn" /> </Product> <Product ID="ProjectPro2019Volume"> <Language ID="zh-cn" /> </Product> </Add> </Configuration>
Code language: HTML, XML (xml)

配置好之后保存。用管理员权限打开powershell,执行以下命令:

.\setup.exe /download .\configuration-Office2019Enterprise.xml .\setup.exe /configure .\configuration-Office2019Enterprise.xml cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /sethst:kms.03k.org
Code language: Shell Session (shell)

即可下载安装并激活office2019了。