Can't run game. DirectX component missing.

Black Betty

Chieftain
Joined
Apr 26, 2010
Messages
2
Just bought Civ IV - Colonization from EB Games. It appears to install correctly however it fails to run, both at the end of the installation process and when I try to start the executable directly.

Also, there are no start menu entries for the game.

Installing the patch makes no discernible difference.

Message is:
Unable to locate component
This application has failed to start because d3dx9_33.dll was not found. Re-installing the application may fix this problem.

(Reinstallation didn't.)

System is dual core AMD 64. Gigabyte MB. (Ultradurable 3, 7-series) 4 GB ram. nvidia geforce 9500 512 MB video card.

Operating system is Vista - Ultimate edition.

Attempting to install DirectX directly from the CD it runs through copying components, then after a long pause finishes with Installation failed. See the logs.

Running the DX9.0c redistributable downloaded from MS website completes successfully, but so fast it's obvious nothing is happening.

DX9 Error log below. First batch is from the game installation run. Second the later manual run.
Code:
--------------------
[04/26/10 21:38:37] module: dxupdate(Jun 20 2007), file: dxupdate.cpp, line: 1269, function: CabCallback

    Failed API:		DeleteFile()
    Error:		(5) - Access is denied.



    Unable to delete C:\Users\BJ\AppData\Local\Temp\DX8FB6.tmp\d3dx9_28.dll.

--------------------
[04/26/10 21:38:37] module: dxupdate(Jun 20 2007), file: dxupdate.cpp, line: 5714, function: DirectXUpdateInstallPlugIn

    Failed API:		SetupIterateCabinet()
    Error:		(1224) - The requested operation cannot be performed on a file with a user-mapped section open.



    Unable to iterate through D:\DirectX9\Dec2005_d3dx9_28_x64.cab. The file may be damaged.

--------------------
[04/26/10 21:38:37] module: dsetup32(Jun 20 2007), file: dxupdate.cpp, line: 280, function: CSetup::InstallPlugIn

    DirectXUpdateInstallPlugIn() failed.

--------------------
[04/26/10 21:38:37] module: dsetup32(Jun 20 2007), file: setup.cpp, line: 1701, function: CSetup::SetupForDirectX

    InstallPlugIn() failed.

--------------------
[04/26/10 21:38:39] module: dsetup32(Jun 20 2007), file: dsinline.h, line: 302, function: DXRemoveFile

    Unable to remove C:\Users\BJ\AppData\Local\Temp\DX8FB6.tmp.

--------------------
[04/26/10 21:38:39] module: dsetup32(Jun 20 2007), file: inline.h, line: 220, function: CleanUpDirectory

    Unable to remove: C:\Users\BJ\AppData\Local\Temp\DX8FB6.tmp\d3dx9_28.dll which is locked, reason = 5.
****************************************************
--------------------
[04/26/10 21:55:45] module: dxupdate(Jun 20 2007), file: dxupdate.cpp, line: 1269, function: CabCallback

    Failed API:		DeleteFile()
    Error:		(5) - Access is denied.



    Unable to delete C:\Users\BJ\AppData\Local\Temp\DXB10C.tmp\d3dx9_29.dll.

--------------------
[04/26/10 21:55:45] module: dxupdate(Jun 20 2007), file: dxupdate.cpp, line: 5714, function: DirectXUpdateInstallPlugIn

    Failed API:		SetupIterateCabinet()
    Error:		(1224) - The requested operation cannot be performed on a file with a user-mapped section open.



    Unable to iterate through D:\DirectX9\Feb2006_d3dx9_29_x64.cab. The file may be damaged.

--------------------
[04/26/10 21:55:45] module: dsetup32(Jun 20 2007), file: dxupdate.cpp, line: 280, function: CSetup::InstallPlugIn

    DirectXUpdateInstallPlugIn() failed.

--------------------
[04/26/10 21:55:45] module: dsetup32(Jun 20 2007), file: setup.cpp, line: 1701, function: CSetup::SetupForDirectX

    InstallPlugIn() failed.

--------------------
[04/26/10 21:55:46] module: dsetup32(Jun 20 2007), file: dsinline.h, line: 302, function: DXRemoveFile

    Unable to remove C:\Users\BJ\AppData\Local\Temp\DXB10C.tmp.

--------------------
[04/26/10 21:55:46] module: dsetup32(Jun 20 2007), file: inline.h, line: 220, function: CleanUpDirectory

    Unable to remove: C:\Users\BJ\AppData\Local\Temp\DXB10C.tmp\d3dx9_29.dll which is locked, reason = 5.
 
This is how i usually fixed this kind of problem
Just download the missing file (googling would help a lot)
Place the file anywhere you find it good(i recommend placing it to the same folder as your exe though)
 
Nope tried that. In System32, in the game folder and the assets folder. tried installing it direct from the cab. Still no go.

Error remains unchanged.
 
Are you installing as administrator ie: right click on the setup file and select run as administrator? Try that with the Microsoft distribution if you have not already done so. This is different from using an administrator account to install which you probably are already doing.
 
Top Bottom