本文档为您提供了使用 Endpoint Central 卸载 Microsoft Office 2019 的步骤。
从 Microsoft 网站下载 Microsoft Office 2019 工具 Microsoft 网站 并存储在网络共享中。
要解压下载的软件包,请打开命令提示符并运行以下命令 -
<filepath>\officedeploymenttool_6612-6352.exe /extract:"<filepath>\Destination Folder" /quiet
解压软件包后,您会看到一个 "setup.exe" 文件以及多个 .xml 文件。删除这些 .xml 文件,创建一个名为 Uninstall.xml 的新文件,内容如下所示,然后保存到同一目录中。
<Display Level="None" AcceptEULA="True" />
<Property Name="FORCEAPPSHUTDOWN" Value="True" />
<Remove>
<Product ID="ProPlus2019Volume">
</Product>
</Remove>
</Configuration> 指定 卸载命令及开关/参数 如下所示:
"<sharepath>setup.exe" /uninstall ProPlus /config "<sharepath>\uninstall.xml
例如,"\\dc-machine1\SoftwareRepository\office\setup.exe" /uninstall ProPlus /config "\\dc-machine1\SoftwareRepository\office\uninstall.xml"