
Rm -fr Application\ Support/Microsoft/Office Rm -fr /Library/Automator/Set\ Document\ Settings.actionnĮcho 'Removing user preferences files.' Rm -fr /Library/Automator/Get\ Parent\ Workbooks.action Rm -fr /Library/Automator/Get\ Parent\ Presentations\ of\ Slides.action Rm -fr /Library/Automator/Create\ Table\ from\ Data\ in\ Workbook.action Rm -fr /Library/Automator/Create\ List\ from\ Data\ in\ Workbook.action Rm -fr /Library/Automator/Add\ New\ Sheet\ to\ Workbooks.action Rm -fr /Library/Internet\ Plug-Ins/ SharePoint Rm -fr /Library/Application\ Support/Microsoft/ Rm -fr /Library/Preferences/com.microsoft* Rm -fr /Applications/Remote\ Desktop\ Connection.app/ Rm -fr /Applications/Microsoft\ Office\ 2011/ Rm -fr /Applications/Microsoft\ Messenger.app/ Rm -fr /Applications/Microsoft\ Communicator.app/ Mv -f $HOME'/Documents/Microsoft User Data/' $HOME/Desktop/ > /dev/null 2>&1 Mv -f /Library/Preferences/.plist $HOME/Desktop/ > /dev/null 2>&1Įcho 'Moving Office 2011 User data to your desktop.'
#Install office 2011 for mac license#
Osascript -e 'tell application "Microsoft Database Daemon" to quit'Įcho 'Moving Office 2011 License file to your desktop.' 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' 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
