# 4.10 installation failed with error R-1638

**URL:** <https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, Installation, question\
**Created:** [November 11, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154 "2015-11-11T18:32:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 11, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/1 "2015-11-11T18:32:01Z")

</div>

Installing 4.10 fails at Prerequisites stage with error "The necessary prerequisites have failed to install. Error Code R-1638

---

<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 11, 2015, 7:39pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/2 "2015-11-11T19:39:37Z")

</div>

Hey tattries-

Are you installing the editor from the Epic Games Launcher or from source code? If you are using source code did this error occur when running Setup.bat or GenerateProjectFiles.bat? It may be that your version of Windows is not updated to the latest patch, can you try running Windows Update and then attempt to install again?

Cheers

---

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 11, 2015, 8:04pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/3 "2015-11-11T20:04:13Z")

</div>

Hey,

Installation is from the Epic Games Launcher. I did check that windows update is updated but still failed. Note: the OS version is build 10586 (threshold 2).

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [November 11, 2015, 8:06pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/4 "2015-11-11T20:06:18Z")

</div>

did you just install visual studio 2015? if so the typical install is not enough. You also need the toolchain which is outlined in this post

> **[VS2015 Compiling UE4.10 Preview Linker Error](https://forums.unrealengine.com/questions/328721/vs2015-compiling-ue410-preview-linker-error.html)**
>
> When I am trying to compile my Project with the 4.10.4 Preview in VS 2013 and 2015, I’m getting some Linker Errors. Mostly they have to do with a “SetPause”-Function. But I never touched this function… not even with an override. ...

---

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 11, 2015, 8:13pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/5 "2015-11-11T20:13:18Z")

</div>

Did include the install steps for Visual Studio , the problem might be I upgraded Visual Studio 2015 to Update 1.

---

<div class="post-metadata">

**Author:** ![Alters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alters](https://forums.unrealengine.com/u/Alters)\
**Post date:** [November 11, 2015, 10:09pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/6 "2015-11-11T22:09:02Z")

</div>

I’m also experiencing this issue. I’m attempting to install through the Epic Games Launcher and also am updated to Visual Studio 2015 Update 1.

If I attempt to install the prerequisites directly through the exe file and not through Epic Games Launcher I get a log file with the following at the end of it:

```
[2E70:26AC][2015-11-11T17:04:34]i301: Applying execute package: VC140_X86, action: Install, path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vcredist_x86.exe, arguments: '"C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vcredist_x86.exe" /quiet /norestart'
[2E70:26AC][2015-11-11T17:04:35]e000: Error 0x80070666: Process returned error: 0x666
[2E70:26AC][2015-11-11T17:04:35]e000: Error 0x80070666: Failed to execute EXE package.
[29D0:2B50][2015-11-11T17:04:35]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[29D0:2B50][2015-11-11T17:04:35]i319: Applied execute package: VC140_X86, result: 0x80070666, restart: None
[29D0:2B50][2015-11-11T17:04:35]e000: Error 0x80070666: Failed to execute EXE package.
[2E70:26AC][2015-11-11T17:04:35]i351: Removing cached package: VC140_X86, from path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\
[2E70:26AC][2015-11-11T17:04:35]i330: Removed bundle dependency provider: {31b49e1e-03f8-4a04-8faa-f6476d8fad02}
[2E70:26AC][2015-11-11T17:04:35]i352: Removing cached bundle: {31b49e1e-03f8-4a04-8faa-f6476d8fad02}, from path: C:\ProgramData\Package Cache\{31b49e1e-03f8-4a04-8faa-f6476d8fad02}\
[29D0:2B50][2015-11-11T17:04:35]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No

```

For reference if it also helps in any way:

Windows 10 64bit (fully updated)  
Visual Studio 2015 Update 1 with _every_ option installed/updated  
Visual Studio 2013 installed but unused

---

<div class="post-metadata">

**Author:** ![Alters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alters](https://forums.unrealengine.com/u/Alters)\
**Post date:** [November 11, 2015, 10:24pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/7 "2015-11-11T22:24:07Z")

</div>

To add this the UE4 Prequesties installer when run as stand-alone and not through Epic Games Launcher gives the following error:

“0x80070666 - Another version of this product is already installed. Installation of this version cannot continue.”

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1d7bf15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1d7bf15](https://forums.unrealengine.com/u/anonymous_user_d1d7bf15)\
**Post date:** [November 12, 2015, 6:49pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/8 "2015-11-12T18:49:17Z")

</div>

You can try installing the toolchain , and I even recommend installing this [https://www.microsoft.com/en-us/download/details.aspx?id=48145](https://www.microsoft.com/en-us/download/details.aspx?id=48145) Make sure you have updated Windows to the latest version.If all doesn’t work , maybe you can try to reinstall Visual Studio 2015 , without Update 1 if it is possible.Let me know if this works or not

---

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 12, 2015, 6:56pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/9 "2015-11-12T18:56:13Z")

</div>

Thanks for the inputs, I was able to install 4.10 by doing the following:

- uninstall the VS 2015 C++ redistributable x64 and x86,
- ran the prerequisites directly through the exe ( as suggested by Alters)
- ran Epic Games Launcher which successfully installed 4.10
- finally reinstalled VS 2015 update1 to reinstall the C++ common components.

Appears to have work so far.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_063b56bf1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_063b56bf1](https://forums.unrealengine.com/u/anonymous_user_063b56bf1)\
**Post date:** [November 15, 2015, 8:57pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/10 "2015-11-15T20:57:42Z")

</div>

I had the same issue and uninstalling the VS 2015 C++ redist did the job, after that I just ran the install for 4.10 through the Epic Games launcher and it worked.  
I had an additional thing happen though after that, an install for .NET 3.5 appeared on screen (which failed) though apparently 4.10 installed correctly at that point.

I manually went and installed .NET 3.5 after the fact anyway (just in case).

Sounds like the 4.10 installer needs to be updated to continue installation if the pre-requisites are already there.  
It’s funny (and annoying) to have an install fail because pre-requisites already exist.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1d7bf15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1d7bf15](https://forums.unrealengine.com/u/anonymous_user_d1d7bf15)\
**Post date:** [November 15, 2015, 11:44pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/11 "2015-11-15T23:44:36Z")

</div>

Can anybody tell me where the prerequisites installer is? Because I didn’t understand Step 2 in tattries’ answer.Please shorty explain the second step to me.

---

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 16, 2015, 12:17am UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/12 "2015-11-16T00:17:29Z")

</div>

I think you can ignore step 2 . Just uninstall both the VS 2015 C++ redistributable x64 and x86 and then rerun the Epic Games Launcher to install 4.10. that would work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1d7bf15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1d7bf15](https://forums.unrealengine.com/u/anonymous_user_d1d7bf15)\
**Post date:** [November 16, 2015, 12:22am UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/13 "2015-11-16T00:22:39Z")

</div>

I tried uninstalling both the redistributables and then open Epic Games Launcher , but it crashed again.

---

<div class="post-metadata">

**Author:** ![tattries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tattries](https://forums.unrealengine.com/u/tattries)\
**Post date:** [November 16, 2015, 12:34am UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/14 "2015-11-16T00:34:40Z")

</div>

The prerequisites installer I ran was somewhere in the “programs files\epic games” folder, but I can’t seem to find it now. Might have been removed after install of 4.10…sorry give exact location.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1d7bf15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1d7bf15](https://forums.unrealengine.com/u/anonymous_user_d1d7bf15)\
**Post date:** [November 16, 2015, 4:54pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/15 "2015-11-16T16:54:54Z")

</div>

I found it, It is in C:\Program Files\Epic Games\4.10\Engine\Extras\Redist\en-us  
But it did not fix the problem

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [November 23, 2015, 8:08pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/16 "2015-11-23T20:08:37Z")

</div>

Hi KoushikK,

I just wanted to check in and see if you were able to get everything working. If not, could you please provide more details about exactly what you are doing and what error you are seeing?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_13576cd0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_13576cd0](https://forums.unrealengine.com/u/anonymous_user_13576cd0)\
**Post date:** [December 7, 2015, 9:48pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/17 "2015-12-07T21:48:47Z")

</div>

removing the VS 2015 C++ redist did the job. I just uninstalled them both and hit resume and it installed perfectly.

Thank you!

---

<div class="post-metadata">

**Author:** ![Abeysaurus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Abeysaurus](https://forums.unrealengine.com/u/Abeysaurus)\
**Post date:** [December 17, 2015, 5:14pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/18 "2015-12-17T17:14:45Z")

</div>

I’m trying to install the 4.10.1 using the Epic Launcher and i keep getting the R-1638 error even after trying all the above steps.

---

<div class="post-metadata">

**Author:** ![Superdenny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Superdenny](https://forums.unrealengine.com/u/Superdenny)\
**Post date:** [December 29, 2015, 8:07pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/19 "2015-12-29T20:07:04Z")

</div>

Same here. Tried uninstalling the redistributables, even the launcher, but still fails after several tries (and computer restarts)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_37d46923](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_37d46923](https://forums.unrealengine.com/u/anonymous_user_37d46923)\
**Post date:** [December 29, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154/20 "2015-12-29T20:14:39Z")

</div>

Did u install 4.11 before ?

If yes, you may find help in my post here : [We need clear guidelines to solve 4.10 installation errors - Getting Started & Setup - Epic Developer Community Forums](https://answers.unrealengine.com/questions/352600/we-need-clear-guidelines-to-solve-410-installation.html)

[Next page](https://forums.unrealengine.com/t/4-10-installation-failed-with-error-r-1638/338154.md?page=2)
