Ignore the version check. Most applications that claim to need "Windows Installer 5.0" actually work fine on Windows 10’s newer 5.x engine. If they don’t, contact the software vendor for an update.
Run the System File Checker:
DISM /Online /Cleanup-Image /RestoreHealth
Once you've downloaded the Windows Installer 5.0 installation package, follow these steps to install it: