There’s absolutely nothing you can do about it. The games simply werent designed that way. Your trying to install games going back 14 years before the OS is released? That just won’t work, the same way the opposite won’t work. Trying to install games that only work on win 10 (if there are any), won’t work on XP either. I’ve got a couple Need for speed’s myself that won’t install because they’re too old (2002-2004). Think the earliest version i got to run was 2007 or 2010 i’d have to look it up. Your only option is to install them into a VM on 10, but you won’t get the best performance.
The games are just too old.