Chowpi Try uninstalling and reinstalling your 2015 and newer VC++ runtimes. Open Windows Settings > Apps, scroll down to the Microsoft VC++ Redistributables, click the versions from 2015 or newer, and uninstall. Remove all of these, but don't touch the older versions. You can download fresh copies here:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
You only need the 2022 x86 and x64 runtimes, not any of the others. Restart your computer after installing them, and clear the EA App's cache (again, if you have already) before trying to install Sims 4.
https://help.ea.com/en-us/help/faq/clear-cache-to-fix-problems-with-your-games/