安装前执行清洁安装,先删除原先安装数据,否则会导致激活不成功并且一直提示登录#
0. 先卸载 Office,然后重启#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #!/bin/bash
sudo rm -rf /Applications/Microsoft\ Excel.app
sudo rm -rf /Applications/Microsoft\ OneNote.app
sudo rm -rf /Applications/Microsoft\ Outlook.app
sudo rm -rf /Applications/Microsoft\ PowerPoint.app
sudo rm -rf /Applications/Microsoft\ Word.app
sudo rm -rf /Applications/OneDrive.app
sudo rm -rf ~/Library/Group\ Containers/UBF8T346G9*
sudo rm -rf ~/Library/Containers/com.microsoft.errorreporting
sudo rm -rf ~/Library/Containers/com.microsoft.Excel
sudo rm -rf ~/Library/Containers/com.microsoft.netlib.shipassertprocess
sudo rm -rf ~/Library/Containers/com.microsoft.Office365ServiceV2
sudo rm -rf ~/Library/Containers/com.microsoft.Outlook
sudo rm -rf ~/Library/Containers/com.microsoft.Powerpoint
sudo rm -rf ~/Library/Containers/com.microsoft.RMS-XPCService
sudo rm -rf ~/Library/Containers/com.microsoft.Word
sudo rm -rf ~/Library/Containers/com.microsoft.onenote.mac
|
1. 下载并运行官方的#
Microsoft_Office_License_Removal.pkg
2. 下载并安装(但是先不要打开)官方版本的 Office套#
Microsoft_Office_16.19.18110915_Installer.pkg
3. 禁用 com.microsoft.office.licensingV2.helper
,如果你启用了的话#
4. 下载并运行激活工具(激活后不要打开)#
Microsoft_Office_2019_VL_Serializer.pkg
5. 重新启用 com.microsoft.office.licensingV2.helper
#
6.打开后已激活#
参考文章:https://gist.github.com/zthxxx/9ddc171d00df98cbf8b4b0d8469ce90a