Changing name of bootstrap .exe on PC

Hi,

Heard different answers on this, but is it safe to change the name of the PC bootstrap .exe for launch?

We don’t want go through changing all the .target / .build files a lot of work goes with that. So if we can just rename the bootstrap .exe that will work. Seems safe to do but want to make sure.

Thanks,

Simon

Hello Simon,

Changing the name of the exe as-is would require engine code edits, as the binary generation will be looking for that name. There’s a thread here that goes over a similar situation, where the solution gives a bit more info on this.

When I package a fresh project, the BootstrapPackagedGame exe is named my project name. When you package yours, does it appear as “bootstrappackagedgame-win64-shipping.exe”?

There is a NoBootstrapExe command that can be set to true, would that be a viable option?

Thanks,

Kyle B.

Hello!

There should be no problem renaming the bootstrap exe in a package.

Just to make sure we are talking about the same thing, the bootstrap is the exe in the root folder of the package that is named ProjectName.exe. This exe makes sure that the engine prerequisites are available before launching the real game exe that will be under Package\ProjectName\Binaries\Win64\.

The bootstrap is staged by Win64Platform.GetFilesToDeployOrStage. There is unfortunately no way to override the name other than renaming the file after the package has been generated or modify the code that stages it.

Regards,

Martin

Hi Martin,

Yep just the bootstrap executable.

Thanks,

Martin