A redistributable package (DirectX) was not installed successfully.(4294967281)
Product: Need for Speed: Unbound
Platform:PC
Summarize your bug Unable to pass DirectX check upon installation with error code (4294967281)
How often does the bug occur? Every time (100%)
Steps: How can we find the bug ourselves? Multiple reports for this issue can be found for various games when installing from EA App. I am not sure how to reproduce the issue.
What happens when the bug occurs? Game installation fails to verify last steps.
What do you expect to see? A fix?
I have raised an EA Support case 141643160 which led to no help at all.
To get from the top
The issue appears when during the installation. While reverse engineering the issue, what happens (or at leasst how i imagine it) is as follows
1. Installer downloads all necessary files for the game.
2. Makes a check for pre-requisite files like DirectX and VC redistributable packages as a hard requirement.
2.1 Makes a scan on the system to see is is the package installed
2.1.1 If the package is not installed = installs the package and then continues with other pre-requisites (if any) (never reached that point...)
2.1.2 If the package is installed = checks the version of the package to match (=/>) a certain version
2.1.3 if the package is under the required version = performs an upgrade with provided (downloaded) directx installation file DXSETUP.exe
3. When all prerequisites are met, changes something in NeedForSpeedUnbound.exe so that it is no longer "seen" by the PC as "Installed by another user" and actually starts the game
So that being said. Something in step 2.1.2 is braking up when it tries to verify the DirectX installation.
What i can confirm is that it is not checking the registry at all (tried playing up a bit with the version)
When checking at the DirectX installation logs we can see that it exits with code = "Installation succeeded":
05/03/23 19:12:17: dsetup32: SetupForDirectX: InstallPlugIn() Succeeded. 05/03/23 19:12:17: dsetup32: start finalizing: phase: 256 - 256, total: 0 - 356 05/03/23 19:12:17: DXSetup: DSetupCallback(): Phase = 3, Steps = 0 05/03/23 19:12:17: dsetup32: Installation ended with value 0 = Installation succeeded 05/03/23 19:12:17: DXSetup: WM_APP_ENDINSTALL 05/03/23 19:12:17: DXSetup: ~CDXWSetup()
BUT below we can see that the NFS Unbound installation log does not see it that way :
Start redistributables install phase
Started DirectX Install Phase
Launching process:
Command: "C:\Stuff\Need for Speed Unbound\__Installer\directx\redist\dxsetup.exe" /silent
Working directory: C:\Stuff\Need for Speed Unbound\__Installer\directx\redist\ Process exited with exit code -15.
Error installing DirectX runtime. Please check DirectX install log file typically in C:\Windows\Logs\DirectX.log.
Installer finished with exit code: 1
Shutting down data reader.
****************************************
Stopping install logging
****************************************
In other words , the installer can not receive the Status 0 code from the DirectX log and fails.