the best way... u need to install XP first and then install Win7 on a different partition.

Another best way, use Windows XP in VMware player inside windows 7 and you can use both without doing anything with your partitions or master boot record.