You can run XP inside Windows 7 as a virtual pc. If the software to do this isn't already installed by the pc manufacturer, you can get it free from Microsoft. To be honest, I've read about this, but have not done it. Here's more info:
https://www.microsoft.com/windows/virtual-pc/download.aspx

Jim