How to run old games installer on Windows 10?

There is an interview with Boris Schneider-Johne from Microsoft explaining why old games won't run on Windows 10.

“Everything that ran in Windows 7 should also run in Windows 10. There are just two silly exceptions: antivirus software and stuff that’s deeply embedded into the system needs updating – but the developers are on it already – and then there are old games on CD-Rom that have DRM. This DRM stuff is also deeply embedded in your system, and that’s where Windows 10 says “sorry, we cannot allow that, because that would be a possible loophole for computer viruses.” That’s why there are a couple of games from 2003-2008 with Securom, etc. that simply don’t run without a no-CD patch or some such. We can just not support that if it’s a possible danger for our users. There are a couple of patches from developers already, and there is stuff like GOG where you’ll find versions of those games that work.” (translated by Rock, Paper, Shotgun)

It's hard after that to counter Microsoft in their decision. As he said, you can buy an other digital copy that works on Windows 10, but I know, it's not really nice to buy something we already have. Sadly, this is the easier solution. Steam is selling every games you mentioned in your question. However you can try solutions below, but it requires some specific knowledge and may take time to set up.

The first alternative solution is to dual boot your computer with an older Windows version that can install and run your games. Each time you'll boot your computer, you'll have the choice running Windows 10 (daily usage) or Windows 98 (for games). Here's a second example setting up dual boot.

Finaly, you can try to install a virtual machine with an older Windows version and play the games, but it will not handle your full PC performance and there is risks that may not work correctly.

--EDIT--

As mentioned in comments, if you're able to install the game but unable to launch it, you can apply a no-cd patch.