Using Batch Script to Pass Test

According to this article (https://dev.epicgames.com/docs/epic-games-store/testing-guide?sessionInvalidated=true#redistributable-installation), the game should inform the player of any missing redistributables needed.

Let’s assume the game depends on MyDll.dll, which is shipped with the game, and on Visual C++ redistributables.

If step 3 from article implies only uninstalling Visual C++ redistributables using the system installer:

  1. Can I distribute Visual C++ redistributables with the game (similar to MyDll.dll)? In this case, uninstalling Visual C++ redistributables using the system installer won’t affect the files in the game directory.

  2. If not, as I understand it, I need to run the installer through a Batch Script, in which I can check whether Visual C++ redistributables are installed and install them if necessary. But how can I ensure that the Batch Script is run every time before starting the game?

If step 3 implies removing MyDll.dll from the game directory, is there a way for me to use a Batch Script to launch a simple, small application “checker.exe” (which has no dependencies) to check if all the necessary DLL/files are available for the game and then start the game? I want to run the “checker” every time before starting game and if everything is okay, then start the game.

Or maybe I missed something in the documentation, and there’s another mechanism? For example, can I list all my game dependencies in a special text file that the Epic launcher reads and checks for their existence before starting the title?