Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question
    
I'm not sure how to find those old files, but I know how to prevent it from happening again. Download "AppCleaner" on macupdate.com. It searches for files created by the program you're about to unistall, so you're not left with scattered support files and other miscellaneous junk. –  Dante Sep 14 '11 at 9:03
    
AppZapper is the best way to go. –  Doug Sep 16 '11 at 14:48
add comment

2 Answers

up vote 1 down vote accepted

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 with com.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:

  • 14: Office for Mac 2011
  • 12: Office 2008 for Mac
  • 11: Office 2004 for Mac
  • 10: Office v. X

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:

  • Uninstall what you can, using the uninstaller supplied (Microsoft Office Setup Assistant)
  • Remove the package receipts and the files they reference (but carefully, as many of them will reference system directories that should not be deleted unless empty). DesInstaller does this, but it hasn't been updated in a long time and I'm not sure if it still works on Lion.
  • Remove any leftovers, using either a cleaning tool such as CleanMyMac or the already mentioned AppCleaner, which work by looking for identifiers such as the com.apple.microsoft.office described earlier, or simply using mdfind or locate on the command line.
  • Reinstall Office for Mac 2011 - and before doing the next upgrade, use the uninstaller.
share|improve this answer
    
As a side note, I've written a little Python script to replace the abandoned DesInstaller and it has served me well so far, but it's in need of some (careful) testing. Get in touch if you're interested (didn't want to advertise this in the answer). –  Ingmar Hupp Sep 14 '11 at 14:27
add comment

have you installed "Hazel". Its a remarkable application which will do as you require plus much more.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.