After a similar experience (reformatting my rig many times), I decided to have all my sources in separated folder and manually install any component I may need. That way, I kept delphi faster and lighter. I also keep zips for anything related to sources, components and tools, and backups on rw dvds/memory sticks. Maybe it sounds crazy and obsesive, but never lost a working component/library again.