When you run the UE4PrereqSetup_x64.exe (typically found in Engine\Extras\Redist\en-us\ ), it silently or interactively installs the following components:

"Welcome to the UE4 Prerequisites (x64) Setup Wizard. This will install the necessary components for running UE4 applications."

(depending on UE4 version)

Once you have the hardware,

Run this in PowerShell (Admin) to see if VC++ 2015-2022 x64 is installed: