I have been migrating my account from Mac to Mac for years now. Every time a new Office version is out, I'd install it (X, 2004, 2008, and now 2011) and remove the old one after some time.
Every time, I removed the older version by trashing its folder in /Applications
. Now, I get worried that I left tons of support files and stuff in various Library folders. The reason I realized that is that, this morning, Office offered me to update “Open XML File Format Converter”, which I think is now a remnant of the past (and is not part of Office 2011 any more).
So, how can I remove old Office support files and directories, without hurting my current install of Office 2011? Where should I look?
Best Answer
In general, when removing Office (or any application that comes with an uninstaller), it's advisable to use the uninstaller for the application, instead of just dragging things into the Trash. The best way to get a clean system would be to remove the old version completely, then install the new version. However, this is not an option for you any more, due to already having trashed (some of) the old files.
The files installed with every Office version are recorded in
/var/db/receipts
, in files starting withcom.microsoft.office.*
. There's a lot of those files, as Office comes in parts (Excel, Word, Proofing Tools, etc.) and also one for each update installed. The versions numbers in there are the "raw" office versions:However it's not as simple as removing all files referenced by older packages, as some of them will be shared between them and doing so may leave your current Office install in a damaged state. Therefore the cleanest way to really remove all Office junk would be to:
com.apple.microsoft.office
described earlier, or simply usingmdfind
orlocate
on the command line.