How can I rename *just* the executable when packaging a windows build?

adamvubs
Wed, 19 Jun 2024 21:00:20 +0000
Platform & Builds

I am making a packaged build

When I BuildCookRun, I look at my output foo.exe in the root folder and root\MyGame\Binaries\Win64\foo-Win64-shipping.exe
I would like to configure things such that when I build I get bar.exe in the root folder and root\MyGame\Binaries\Win64\bar-Win64-shipping.exe

Renaming executables isn’t sufficient since process name etc. would still be foo
From what I’ve read (e.g.: Specify the name of packaged exe?) it seems like the only way to achieve is to rename the entire project
This isn’t ideal for our use-case because executable name might further change, our project is quite large so renaming it requires a lot of effort etc.

Is there a way to achieve this relatively painlessly? Our ideal solution would see us do some ini modifications or pass in a parameter to specify the executable name that we want

1 post - 1 participant