If you are seeing this error please update BuildPatchTool to the latest version, if this fails you can attempt to run it in compatibility mode.
https://dev.epicgames.com/community/learning/knowledge-base/Jdvqq/epic-online-services-seeing-this-app-cant-run-on-your-pc-when-trying-to-run-buildpatchtool