Xp cant install in windows 7

You can't run the installation CD if windows XP is up and running. This is because Windows 7 only supports an upgrade from Vista, not from XP.

You have to shut down the machine and boot from the CD in order to install Windows. Note that you'll also have to reinstall all of your application programs as well. It would be smart to back up everything before you begin.