UBCD4Win is a bootable recovery CD that contains software used for repairing, restoring, or diagnosing almost any computer problem. Our goal is to be the most complete and easy to use free computer diagnostic tool. Almost all software included in UBCD4Win are freeware utilities for Windows®.http://www.ubcd4win.com/
List of tools of UBCD4win; See the recovery section for undelete tools:http://www.ubcd4win.com/contents.htm
It started deleting files out of the Windows directory to set up a new Windows installation.
I am not sure if the undelete tools will work for you, because you already have overwritten a part of the partition with the installation files. You probably have to reinstall windows XP.
PS: next time you have a problem, make a topic instead of posting inside this topic.