you can use the upgrade media to install Windows 7 but you'll need to do a clean install. You can't do an in-place upgrade from XP to 7.
I would not go XP to Vista to 7. Too many upgrades and you'll end up with a mess of a system even if it did work at all.
Welcome to the forum by the way