# Activating binary for artifact from command line

**URL:** <https://forums.unrealengine.com/t/activating-binary-for-artifact-from-command-line/2311897>\
**Category:** Store Presence & Configuration\
**Tags:** epic-games-store, question\
**Created:** [January 31, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/activating-binary-for-artifact-from-command-line/2311897 "2025-01-31T15:04:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Layso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Layso](https://forums.unrealengine.com/u/Layso)\
**Post date:** [January 31, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/activating-binary-for-artifact-from-command-line/2311897/1 "2025-01-31T15:04:51Z")

</div>

I’m trying to implement the build pipeline for Steam and Epic Games Store. I’m able to upload the binary with BuildPatchTool but couldn’t find a way to set it active for the artifact from command line. Is it possible at all?

It would be a nice feature at least for the non live sandboxes to automatize activating the test builds just as Steam allows it for beta branches while still requiring user input and approval for the default (live) branch.

---

<div class="post-metadata">

**Author:** ![Layso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Layso](https://forums.unrealengine.com/u/Layso)\
**Post date:** [January 31, 2025, 4:14pm UTC](https://forums.unrealengine.com/t/activating-binary-for-artifact-from-command-line/2311897/2 "2025-01-31T16:14:08Z")

</div>

Ah, my bad. Apparently it’s `LabelBinary` mode that activates the binary when label parameter is given as Live. So this is my full line on my batch script for any future lurkers:

> call “%EPIC\_BUILD\_PATCH\_TOOL\_PATH%” -ClientId=%EPIC\_CLIENT\_ID% -ClientSecret=%EPIC\_CLIENT\_SECRET% -OrganizationId=%EPIC\_ORGANIZATION\_ID% -ProductId=%EPIC\_PRODUCT\_ID% -ArtifactId=%EPIC\_ARTIFACT\_ID% -BuildVersion=%GAME\_VERSION% -SandboxId=%EPIC\_SANDBOX\_ID% -Label=Live -Platform=Windows -mode=LabelBinary

(SandboxId parameter said to be optional on the BPT instructions PDF but the process fails if it’s not given)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 2, 2025, 4:14pm UTC](https://forums.unrealengine.com/t/activating-binary-for-artifact-from-command-line/2311897/3 "2025-03-02T16:14:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
