前往微软官网,下载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个文件,其中两个文件是我们需要的,分别是

用文本编辑工具打开xml文件,配置需要下载安装的文件(需要哪个就删掉哪个)。例如:

<Configuration>
  <Add OfficeClientEdition="64" Channel="PerpetualVL2021">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
      <ExcludeApp ID="Word" />
      <ExcludeApp ID="Excel" />
      <ExcludeApp ID="PowerPoint" />
      <ExcludeApp ID="Outlook" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Teams" />
    </Product>
  </Add>
  <Remove All="True" />
</Configuration>

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

.\setup.exe /download .\configuration-Office2021Enterprise.xml 
.\setup.exe /configure .\configuration-Office2021Enterprise.xml
cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /sethst:kms.03k.org

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

发表评论

您的电子邮箱地址不会被公开。