BusinessWorks 2015 (not yet service pack 7) on Windows XP

SUGGESTED

We are running BusinessWorks 2015 (not yet service pack 7) on Windows XP (hey, it was very reliable and stable). We had a hard drive failure and now are in the process of restoring. Do we need to restore the XP operating system and the data prior to changing to Windows 7 (or Windows 10)? Or can we install Windows 7 (or 10) and restore the data as usual? Any help is appreciated here.