Prevent build .exe from launching

How would one go about making the .exe only launchable from a custom launcher… so that when you try to run the .exe you get from building the game will say something like: Error: You can only launch the game from the launcher.

That’s an odd question. Well, if you want to do that, you could just have the build.exe contain the “launcher” code.