Update Microsoft Office uninstall/zap stanzas (#24125)
- Updated uninstall to include all the jobs that were left running. - Updated zap to be more thorough.
This commit is contained in:
parent
4202fd09d0
commit
55abc1b240
|
@ -13,16 +13,36 @@ cask 'microsoft-office' do
|
|||
'com.microsoft.package.*',
|
||||
'com.microsoft.pkg.licensing',
|
||||
],
|
||||
launchctl: 'com.microsoft.office.licensingV2.helper.plist'
|
||||
launchctl: [
|
||||
'com.microsoft.autoupdate.helpertool',
|
||||
'com.microsoft.office.licensing.helper',
|
||||
'com.microsoft.office.licensingV2.helper',
|
||||
]
|
||||
|
||||
zap delete: [
|
||||
'/Library/LaunchDaemons/com.microsoft.office.licensingV2.helper.plist',
|
||||
'/Library/PrivilegedHelperTools/com.microsoft.office.licensingV2.helper',
|
||||
'/Library/Preferences/com.microsoft.office.licensingV2.plist',
|
||||
'~/Library/Preferences/com.microsoft.autoupdate2.plist',
|
||||
],
|
||||
rmdir: [
|
||||
'~/Library/Application Scripts/com.microsoft.Excel',
|
||||
'~/Library/Application Scripts/com.microsoft.Office365ServiceV2',
|
||||
'~/Library/Application Scripts/com.microsoft.onenote.mac',
|
||||
'~/Library/Application Scripts/com.microsoft.Outlook',
|
||||
'~/Library/Application Scripts/com.microsoft.Powerpoint',
|
||||
'~/Library/Application Scripts/com.microsoft.Word',
|
||||
'~/Library/Caches/com.microsoft.autoupdate.fba',
|
||||
'~/Library/Caches/com.microsoft.autoupdate2',
|
||||
'~/Library/Caches/Microsoft/uls/com.microsoft.autoupdate.fba',
|
||||
'~/Library/Caches/Microsoft/uls/com.microsoft.autoupdate2',
|
||||
'~/Library/Containers/com.microsoft.Excel',
|
||||
'~/Library/Containers/com.microsoft.Office365ServiceV2',
|
||||
'~/Library/Group Containers/UBF8T346G9.*',
|
||||
'~/Library/Containers/com.microsoft.onenote.mac',
|
||||
'~/Library/Containers/com.microsoft.Outlook',
|
||||
'~/Library/Containers/com.microsoft.Powerpoint',
|
||||
'~/Library/Containers/com.microsoft.Word',
|
||||
'~/Library/Cookies/com.microsoft.autoupdate.fba.binarycookies',
|
||||
'~/Library/Cookies/com.microsoft.autoupdate2.binarycookies',
|
||||
'~/Library/Group Containers/UBF8T346G9.ms/com.microsoft.autoupdate2',
|
||||
'~/Library/Group Containers/UBF8T346G9.Office/com.microsoft.officeprefs.plist',
|
||||
'~/Library/Preferences/com.microsoft.autoupdate.fba.plist',
|
||||
'~/Library/Preferences/com.microsoft.Excel.LSSharedFileList.plist',
|
||||
'~/Library/Saved Application State/com.microsoft.onenote.mac.savedState',
|
||||
'~/Library/Saved Application State/com.microsoft.Outlook.savedState',
|
||||
]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue