Cant Install Unreal Editor

THIS IS NOT A REPOST!

I get this error when i try to install the Unreal Editor!

Pic: Screenshot - dbd5c6fd98c4972a8e27d9665d454458 - Gyazo

In your %Temp% folder you’ll find some logs that start with UE4_Prerequisites. To access this folder simply type %Temp% into the Windows File Explorer file path bar. Zip those files up, attach to the thread, and I’ll have a look. Judging by your previous post, I suspect we’ll find that DirectX is having an issue installing again. If that is the case, we’ll have to apply a workaround somewhat similar to the one you used to get the Launcher installed. I’ll work on getting the steps for that workaround drafted up while I waiting on your logs.

link text

As suspected, DirectX is not installing properly. Here are the interesting bits out of your install log:

    Installing DirectX.
    DXSetup exited with code: -9
    Failed to install DirectX.
    CustomAction CAInstallDirectX returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Will post up a workaround shortly.

The full instructions are here for anyone else encountering this issue. @Avi3ator, since you ran through steps 1-4 already when troubleshooting in a previous thread, you can start at step 5.

NOTE: This workaround only applies when your Engine install fails with error: ‘The necessary prerequisites have failed to install’.

  1. Manually download and install DirectX from here:
  2. Install [Microsoft Visual C++ 2010 Redistributable Package (x86)][2]. Also install [Microsoft Visual C++ 2010 Redistributable Package (x64)][3]
  3. Install [Visual C++ Redistributable for Visual Studio 2012][4]. Install both vcredist_x86.exe and vcredist_x64.exe.
  4. Install [Visual C++ Redistributable Packages for Visual Studio 2013][5]. Install both vcredist_x86.exe and vcredist_x64.exe.
  5. Install [Visual C++ Redistributable for Visual Studio 2015][7]. Install both vc_redist.x86.exe and vc_redist.x64.exe.
  6. Right click on your Epic Games Launcher desktop shortcut and select Properties. Under the Shortcuts tab, find the Target field and add this to the end of it(pictured below): -SkipBuildPatchPrereq
  7. Double click the desktop shortcut to start the launcher.
  8. Install the Unreal Engine.
  9. As soon as you have the engine installed, close the launcher and REMOVE the -SkipBuildPatchPrereq flag from your shortcut. Startup the launcher again.

I’m still actively trying to track down the reason some users encounter the code -9 DirectX error. It would be incredibly helpful if you could attach your DirectX.log files. They are usually found here: C:\Windows\Logs