Osascript -e 'tell application "Microsoft Document Connection" to quit' Osascript -e 'tell application "Remote Desktop Connection" to quit' Read -p "Do you want to proceed? " -n 1 -rĮcho 'Closing all Office 2011 applications.' || exec sudo -u root $0Įcho '='Įcho ' Office 2011 un-installation script'Įcho 'This will fully remove Office 2011 from this computer.' !/bin/sh make sure the script run by root Here is my version, tested on Office2011 v14.3.8. Rm -R /private/var/db/receipts/com.microsoft. Rm -R /Library/PrivilegedHelperTools/ *microsoft * Rm -R /Library/LaunchDaemons/ *microsoft * Rm -R /Library/Internet \ Plug-Ins/ *SharePoint * Rm -R '/Library/Automator/Set Document Settings.action ' Rm -R '/Library/Automator/Get Parent Workbooks.action ' Rm -R '/Library/Automator/Get Parent Presentations of Slides.action ' Rm -R '/Library/Automator/Create Table from Data in Workbook.action ' Rm -R '/Library/Automator/Create List from Data in Workbook.action ' Rm -R '/Library/Automator/Add New Sheet to Workbooks.action ' Rm -R '/Library/Application Support/Microsoft/ ' Rm -R '/Applications/Remote Desktop Connection.app/ ' Rm -R '/Applications/Microsoft Office 2011/ ' Rm -R '/Applications/Microsoft Messenger.app/ ' Rm -R '/Applications/Microsoft Communicator.app/ ' Osascript -e 'tell application "Microsoft Database Daemon" to quit ' Osascript -e 'tell application "Microsoft AU Daemon" to quit ' Osascript -e 'tell application "Microsoft Office Reminders" to quit ' Osascript -e 'tell application "Microsoft Word" to quit ' Osascript -e 'tell application "Microsoft PowerPoint" to quit ' Osascript -e 'tell application "Microsoft Excel" to quit ' Osascript -e 'tell application "Microsoft Outlook" to quit ' Osascript -e 'tell application "Microsoft Communicator" to quit '
Osascript -e 'tell application "Microsoft Messenger" to quit ' Osascript -e 'tell application "Microsoft Document Connection" to quit ' Osascript -e 'tell application "Remote Desktop Connection" to quit ' # Credit to Diane Ross for original script