# Failing Packaging build for Windows

**URL:** <https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709>\
**Category:** Platform & Builds\
**Tags:** build, unreal-engine, bug-report, packaging-projects, question\
**Created:** [November 16, 2015, 11:18pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709 "2015-11-16T23:18:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucabelluccini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucabelluccini](https://forums.unrealengine.com/u/lucabelluccini)\
**Post date:** [November 16, 2015, 11:18pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/1 "2015-11-16T23:18:14Z")

</div>

When trying to package an internal release of our experiment in shipping mode (Win32), I got the following error:

```
Missing UE4Game binary.
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UE4Game <Platform> <Configuration>

```

The only change we made was to change the Minimum OS Version compatibility to XP (by mistake).  
This setting adds the following flag in the ini file, with a value corresponding to it (Vista or XP).

```
MinimumOSVersion=...

```

The point is, even reverting it back to Vista, the build fails with a strange error in the log, such as:

```
Missing UE4Game-Win32-Shipping_xp.exe...

```

**We finally managed to rebuild the project removing manually the MinimumOSVersion line from the DefaultEngine.ini**

Our project is a blueprint only one.  
The other solution would be to rebuild UE4 from sources, I suppose.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 17, 2015, 3:50pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/2 "2015-11-17T15:50:22Z")

</div>

Hey lucabelluccini-

Where in the ini file did you add the “MinimumOSVersion” line? Do you have the same error if you package for Win64 instead of 32? Are there any other changes that need to be made to a new project to reproduce the error?

Cheers

---

<div class="post-metadata">

**Author:** ![lucabelluccini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucabelluccini](https://forums.unrealengine.com/u/lucabelluccini)\
**Post date:** [November 17, 2015, 5:03pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/3 "2015-11-17T17:03:03Z")

</div>

I did not add any line in the ini file.  
I noticed the line in the ini file is not present when creating a new project.

Once you change the Minimum OS Support in the Project settings, the line is added (and its value will change between Vista and XP) and (at least for us) you will no more be able to finalize the packaging.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 17, 2015, 8:58pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/4 "2015-11-17T20:58:01Z")

</div>

I was able to package successfully after changing the Minimum OSVersion setting in Project Settings-\>Platforms-\>Windows. The line was added in the DefaultEngine.ini file under the heading “[/Script/WindowsTargetPlatform.WindowsTargetSettings]” and was set as “MinimumOSVersion=MSOS\_XP” Does this match what was set in your DefaultEngine.ini file? Also does the crash occur in a new project if you only change the MinimumOSVersion setting and then package?

---

<div class="post-metadata">

**Author:** ![lucabelluccini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucabelluccini](https://forums.unrealengine.com/u/lucabelluccini)\
**Post date:** [November 18, 2015, 12:59am UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/5 "2015-11-18T00:59:59Z")

</div>

If MinimumOSVersion is present, I am unable to build.

It is not crashing, just stopping the build because it is searching for the binary file “UE4Game-Win32-Shipping\_xp.exe” (even if I set back to Vista in the menu).

The project was created long time ago (several months) using UE 4.7

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 18, 2015, 2:59pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/6 "2015-11-18T14:59:27Z")

</div>

Just so I know I followed the same process, you are referring to File-\>Package Project with the build configuration set to shipping and then selecting Windows-\>Windows (32-bit) correct? Do you have the same package error in a new project after changing the minimum OS in the editor?

---

<div class="post-metadata">

**Author:** ![lucabelluccini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucabelluccini](https://forums.unrealengine.com/u/lucabelluccini)\
**Post date:** [November 22, 2015, 5:46pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/7 "2015-11-22T17:46:31Z")

</div>

I have to try out. I am doing support to a friend who is using UE4 and I have to plan a remote session to check it out.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 27, 2015, 8:13pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/8 "2015-11-27T20:13:16Z")

</div>

Hey lucabelluccini-

After further testing I received the same error after converting a project from 4.9 to 4.10. I have entered a bug report (UE-23870) to investigate this further. For now you can try adding a new class to the project through the editor. Adding the class forces the project to perform a hot reload which allowed my project to proceed without the error.

Cheers

---

<div class="post-metadata">

**Author:** ![Estape](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/estape/32/1007455_2.png) [@Estape](https://forums.unrealengine.com/u/Estape)\
**Post date:** [January 21, 2018, 8:48pm UTC](https://forums.unrealengine.com/t/failing-packaging-build-for-windows/338709/9 "2018-01-21T20:48:44Z")

</div>

I got this issue on 4.18 (not the GitHub version) in my project and a blank new project too. This was happen when I try launch my project on my Moto G 4 Play with Android 6.0

PackagingResults: Error: Launch failed! Missing UE4Game binary.  
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:  
UE4Game
