Please, why am i getting this error when building engine from source 5.1 - Windows cannot find UEprereqSetUp_x64.exe

Please, why am i getting this error when building engine from source 5.1, it’s always one problem or the other when building from source, it happened with 5.3, and now 5.1. Epic please fix your source codes, they are extremely buggy.

the error is attached. - Windows cannot find UEpereqSetUp_x64.exe

Did you try to launch the setup.bat from the file explorer manually (instead of cmd) ?

Double check your file path, if the file UEprerequSetUp is actually there:
image

And disable your firewall/antivirus.

Hi @Arodi007 Arodi007, thanks for your reply. The UEPrerreqSetup is in the Redist folder. Having different versions - x64 and X86.

And yes, i ran the setup.bat directly from UE folder and not as a command prompt.

Also i’ve disbale my firewall, i dint have an anti virus installed.

However i stil get the same error when i run the setup.bat

Please help out if you can. Anyone, Thanks.

Usually it tend to be something about admin privileges especially if have setup different profile or using work pc/laptop.

If the files is there, something is preventing it from accessing this file.

Try to run setup.bat as admin.

Also try to install the “UEPrerreqSetup” directly maybe it will skip that steps if it already installed.

Install visual studio with all it required SDK related to unreal engine as well.