How to disable the "UE5 Prerequisites X64" installation

When my packaged project runs on someone else’s machine, I need to install UE5 Prerequisites X64. Is there a way to cancel this installation? I hope I can run it directly.

Hello there @E_Misalign!

That message appears because the other machine is most likely missing that requirement, and the packaged game needs Microsoft Visual C++ Runtime to run in the first place, it’s installation cannot be skipped. What can be done, is to include them with your game, so nothing needs to be installed in the first place. There are two options for this:

  • You can include the runtime files with your game, meaning no install is needed. To do so, go to Project Settings > Packaging, and in the Prerequisites section, enable “Include app-local prerequisites”. This copies the required runtime files next to your game’s EXE file when you package it, so it can run directly on machines that don’t have them.

  • Or, you can include the installer instead. From that same section of UE, enable “Include prerequisites installer”, which will bundle the installer with your package, so players can install the runtime, even without an internet connection.

For further details on packaging settings, please check the related UE doc: