I cant Install Directx 9.0c

When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error :

"An internal system error occurred.
Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem."

I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error

and when I go to DXError.log and DirectX.log see this Problem with dsound.inf :

--
[01/05/06 01:40:11] module: dsetup32(Sep 28 2005), file: setup.cpp, line: 6443, function: CSetup::InstallDirectXInfsFromInfSection

Installation of 'C:\WINDOWS\System32\DirectX\DX113.tmp\dsound.inf - [DefaultInstall]' failed.

01/05/06 01:40:11: dsetup32: Installation of 'C:\WINDOWS\System32\DirectX\DX113.tmp\dpvoice.inf - [DefaultInstall]' succeeded.
01/05/06 01:40:11: dsetup32: Installation of 'C:\WINDOWS\System32\DirectX\DX113.tmp\dmusic.inf - [DefaultInstall]' succeeded.
01/05/06 01:40:11: dsetup32: CSetup::ExecuteInf(): SetupInstallFromInfSection() failed, error = 5.
01/05/06 01:40:11: dsetup32: CSetup::ExecuteInf(): Unable to proceed C:\WINDOWS\System32\DirectX\DX113.tmp\dsound.inf:[DefaultInstall]. The file may be damaged.
01/05/06 01:40:11: dsetup32: CSetup::InstallDirectXInfsFromInfSection(): Installation of 'C:\WINDOWS\System32\DirectX\DX113.tmp\dsound.inf - [DefaultInstall]' failed.
01/05/06 01:40:11: dsetup32: SetupForDirectX: Restoring Backups
01/05/06 01:40:12: DXSetup: DSetupCallback(): Phase = 2, Steps = 0
01/05/06 01:40:15: dsetup32: Installation ended with value -9 = Internal or unsupported error
01/05/06 01:40:23: DXSetup: WM_APP_ENDINSTALL
01/05/06 01:40:23: DXSetup: ~CDXWSetup()

[1735 byte] By [HamidFULL] at [2007-12-23]
# 1

What operating system & service pack revision are you using?

Is this an U.S. english install of Windows or another language?

Is this a Windows Update or MSDN web setup install or install of the developer redistributable package?

Would it be possible for you to attach the full Directx.log file to this thread?

NeilDelaOsa at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 2

I use Windows XP SP1A with all updates until December 2005 everything is Fresh
U.S. english language install

"Is this a Windows Update or MSDN web setup install or install of the developer redistributable package?"
Both of them but everytime I see this error

when I type DxDiag appear Wonderful thing :
Directx version : DirecX8.1 (4.09.00.0904)!
4.09.00.0904 is Directx 9.0c version!

I try to install older DirectX 9.0c and even DirectX 9.0b but again I see this error!
Cryptographic Services is enabled when I try to install DirectX

I Spend two weeks to slove this Problem but i cant Slove yet! help me Engineers!
I cant see flash and games as well as

HamidFULL at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 3
I think I'm going to need the full directx.log from your windows folder and dxdiag.txt to come up with some ideas as to what's happening. Is there some place you could post these so I can take a look at them?
NeilDelaOsa at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 4
I talked with a developer and they informed me that dsound.inf only contains registry information. This could indicate problems with the registry database or a corrupted file. Would you also include the setupapi.log in the windows folder?
NeilDelaOsa at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 5

I have latest Windows Installer v3.1 I reinstall it but porblem is Stable!
I see eventvwr.msc but Event Viewer dont show any event
I Run chkdsk (CHKDSK C: /P and /R) but no error found!

end of this post is my full directx.log and setupapi.log
I dont have dxdiag.txt in my windows folder
I install fresh windows in other drive and go to fresh windows and delete "dsound.dll" and "dsound3d.dll" and "dsound.vxd" and go to safe mod with old (first) windows and try to install Directx but I accost with same alert in setup but new error in directx.log "dxntunp.inf" error with search I find when setup rech this section cant continue :

[WINXP_INSTALL]
CopyFiles=WinXP_DirectX_System,WinXP_DLLCache,WinXP_DirectX_Help,Inf_Subsection
DelFiles=DirectX9_Delete,WinXP_Delete_Files
AddReg=add.reg

again I go to old (first) windows in normal (not safe mod) "dsound.dll" again comes in my system32 folder
I try to restore directx 8.1 from windows XP build 2600 with directx happy uninstall v1.2 but it cant restore all file like "dsound.dll" and ... and I try to install Directx 9.0b but I see this error "directX did not copy a required file"
I go to http://support.microsoft.com/?kbid=891890 but my windows dont have "dxxpdbg" or "dxxpunp.exe"
and with too long serach I find that Directx setup cant copy some files in my Computer like "dsound.dll" and others when I delete "dsound.dll" I go next step and I accost "dxntunp.inf" error that I told about it.

here u can see my directx.log :
http://www.ripway.com/members/getfile.asp?file=\Directx\DirectX%2Elog

here u can see my setupapi.log :
http://www.ripway.com/members/getfile.asp?file=\Directx\setupapi%2Elog

and Here u can see Directx win error :
http://www.ripway.com/members/getfile.asp?file=\Directx\Ads%2EJPG


HamidFULL at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 6

I'm getting a logon message assessing the http links. Do I need a ripway account to access them?

This problem became a lot harder for me because of the DirectX Happy Uninstall v1.2. Forcibly uninstalling DirectX with a third party application is not a supported scenario for Windows XP. DirectX is a core system file so deleting it is not a good idea. I'm not sure why System File Protection didn't step in and replace the files.

I'm having difficulties following the later steps of your repro case. So you did a new installation of windows on a different drive and attempted to reproduce the problem by deleting files from the new installation? Did you take the files from that install to copy onto the older installation of Windows? Then you ran DirectX Happy Uninstall v1.2 on the older version of windows to revert back to XP Gold Direct Version 8.1. Then you hit an error installing DirectX 9.0b and couldn't implement the troubleshooting steps for DirectX 9.0b on http://www.microsoft.com. Is my understanding correct?

NeilDelaOsa at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 7

So you did a new installation of windows on a different drive and attempted to reproduce the problem by deleting files from the new installation?

No, I installed new windows on a different drive (D:) and go to fresh windows and delete "dsound.dll" and "dsound3d.dll" and "dsound.vxd" of old windows (C:) ,Fresh windows have no problem
and go to safe mod of old (first) windows and try to install Directx but I accost with same alert in setup but new error in directx.log "dxntunp.inf" error with search I find when setup rech this section cant continue :

[WINXP_INSTALL]
CopyFiles=WinXP_DirectX_System,WinXP_DLLCache,WinXP_DirectX_Help,Inf_Subsection
DelFiles=DirectX9_Delete,WinXP_Delete_Files
AddReg=add.reg

Did you take the files from that install to copy onto the older installation of Windows?
No ,I dont get

Then you ran DirectX Happy Uninstall v1.2 on the older version of windows to revert back to XP Gold Direct Version 8.1?
Yes

then when I try to install any version of directx I accost with "directX did not copy a required file"

I am tired with this BIG problem

HamidFULL at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 8
Hi. Maybe I can help. I am having this EXACT same problem,

trying to install the latest version of DirectX, under XP SP1.

The installer fails after complaining of a problem with file

dsound.inf. Many attempts at work-arounds have been

unsuccessful. Going on your clues, Neil, it seems to me that the

DirectX installer is trying to delete a Registry that won't be deleted,

namely HKCR\Microsoft.DirectSoundCaptureAecDMO.

Here is a section of DXError.log:

Installation of 'C:\WINDOWS\System32\DirectX\DX9D.tmp\dsound.inf - [DefaultInstall]' failed.

--

[01/09/06 14:27:13] module: dsetup32(Dec 5 2005), file: setup.cpp, line: 6663, function: CSetup::ExecuteInf

Failed API: SetupInstallFromInfSection()

Error: (5) - Access is denied.

Unable to proceed C:\WINDOWS\System32\DirectX\DX138.tmp\dsound.inf:[DefaultInstall]. The file may be damaged.

--

[01/09/06 14:27:13] module: dsetup32(Dec 5 2005), file:

setup.cpp, line: 6462, function:

CSetup::InstallDirectXInfsFromInfSection

Installation of 'C:\WINDOWS\System32\DirectX\DX138.tmp\dsound.inf - [DefaultInstall]' failed.

--

[01/09/06 15:25:17] module: dsetup32(Dec 5 2005), file: setup.cpp, line: 6663, function: CSetup::ExecuteInf

Failed API: SetupInstallFromInfSection()

Error: (5) - Access is denied.

Unable to proceed C:\WINDOWS\System32\DirectX\DX1D9.tmp\dsound.inf:[DefaultInstall]. The file may be damaged.

--

[01/09/06 15:25:17] module: dsetup32(Dec 5 2005), file:

setup.cpp, line: 6462, function:

CSetup::InstallDirectXInfsFromInfSection

Installation of 'C:\WINDOWS\System32\DirectX\DX1D9.tmp\dsound.inf - [DefaultInstall]' failed.
And here's a section of setupapi.log:

#-198 Command line processed: "C:\Documents and Settings\Administrator\Desktop\DX\DXSETUP.exe"

#E197 Writing "C:\WINDOWS\INF\ks.inf" to "C:\WINDOWS\INF" is not an

approved method of installing INF files. Use a 'CopyINF' entry instead.

#E197 Writing "C:\WINDOWS\INF\kscaptur.inf" to "C:\WINDOWS\INF" is not

an approved method of installing INF files. Use a 'CopyINF' entry

instead.

#E197 Writing "C:\WINDOWS\INF\ksfilter.inf" to "C:\WINDOWS\INF" is not

an approved method of installing INF files. Use a 'CopyINF' entry

instead.

[2006/01/09 15:25:12 176.13]

#-198 Command line processed: "C:\Documents and Settings\Administrator\Desktop\DX\DXSETUP.exe"

#E197 Writing "C:\WINDOWS\INF\dxdllreg.inf" to "C:\WINDOWS\INF" is not

an approved method of installing INF files. Use a 'CopyINF' entry

instead.

[2006/01/09 15:25:17 176.29]

#-198 Command line processed: "C:\Documents and Settings\Administrator\Desktop\DX\DXSETUP.exe"

#-007 Deleting registry key HKCR\Microsoft.DirectSoundCaptureAecDMO

#E033 Error 5: Access is denied.

#E065 Parsing DelReg section [DirectSound.DelReg] in

"C:\WINDOWS\System32\DirectX\DX1D9.tmp\dsound.inf" failed. Error 5:

Access is denied.

#E064 Parsing install section [DefaultInstall] in

"C:\WINDOWS\System32\DirectX\DX1D9.tmp\dsound.inf" failed. Error 5:

Access is denied.

I'm not a computer expert and can't go any further with figuring this

out myself. I don't know why this key won't be deleted. I

tried deleting it with Regedit, but that didn't work either. Also

of course there could be other keys effected.

I'd appreciate any help. A couple of notes:

First, I've never used any kind of DirectX uninstaller on my system, so I don't think that's a factor.

Second, I discovered this problem when installing the Microsoft game

Fable The Lost Chapters. I love games and was doing just fine on

the August DirectX release, but I guess this game requires the December

release. I noticed that it tried to install it automatically, but

probably didn't complete the update, although no warning was

given. Then when trying to launch the game, it fails with a

warning that file 'd3dx9_25.dll' is missing, presumably one of

the new DirectX files that should have been installed.

I would guess there are others in the same situation.

Thanks,

Randy Petersen

rkpetersen at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 9
I'm a little confused here. In a follow up post, you've indicated that you've run a utility called "DirectX Happy Uninstall". As was already pointed out by Neil, that utility is an unsupported 3rd party product that is explicitly designed to do what should never be done to Windows XP.

We recommend that you completely reinstall the OS and run Windows Update to get the latest components. Once that step is complete, run the DirectX Web Installer, which will update all DirectX components to the latest version.

Note for rkpetersen: We recommend you simply run the DirectX Web Installer.

In any case, we would love to get your feedback once this is accomplished!
DavidWeller at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 10
We recommend you simply run the DirectX Web Installer.
No, this does not work. Neither the web installer, nor the

redistributable, nor the install included with the game Fable, can get

past this point. They all fail with the same error.

Although the fellow who started the thread used a third party DirectX

uninstall utility, I have not, so I can't see how that's the basic

problem.

The problem seems to be as I indicated. Why can't the DirectX installer remove that Registry key?

rkpetersen at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 11
I have exactely the same problem on Windows2000...
Help!
JF002 at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 12

We recommend that you completely reinstall the OS and run Windows Update to get the latest components.

I'm still hoping to get more useful information that the standard

Microsoft mantra whenever a problem comes along that you guys can't

figure out.

I mean, this is a Microsoft DirectX and Microsoft games forum.

Several of us have run into a tough problem that isn't solved by any

'ordinary' work-arounds, like trying the web installer vs the

redistributable or trying to do the installation while running in Safe

mode.

And I, at least, have not used any questionable third party

utilities to mess with DirectX. Perhaps another application or

driver is interfering in some way, I don't know. But asking me to

reinstall Windows and then having to deal with endless problems that

would create with other applications, is not an adequate or appropriate

response.

So, in the hope that someone with the necessary skills will assist me, here's a summary of the problem again.

The latest (December) release of DirectX will not install, not from the

built-in installer in the game Fable, or by the web installer, or by

the redestributable installer.

The cause of failure is exactly the same every time, and occurs even if

I end all non-essential running processes, or even restart in safe

mode, first.

DXError.log (as in my previous post) says that the problem stems from trying to work with a temporary file called 'dsound.inf'.

Checking setupapi.log (as suggested by Neil and also in my previous

post) seems to indicate that the underlying problem is that a Registry

key, HKCR\Microsoft.DirectSoundCaptureAecDMO, cannot be deleted when

the installer tries to do so, and this then causes the problem with

file dsound.inf.

That specific Registry key also can't be deleted manually with regedit, even in safe mode.

I don't have the knowledge of how to proceed with the investigation

from this point. That's why I'm posting here! What would

keep that key from being deleted by the installer? Is there some

way to find out? If it's due to interference by an

SoundBlaster audio driver, an nVidia video driver, or something like

that, I'd be happy to update or remove the offending item as necessary,

but I don't want to start randomly uninstalling or updating things

hoping to get lucky, because that's just likely to cause more problems.

And reinstalling Windows ain't gonna happen. I'm not a fan of the shotgun approach when a precise one is called for.

Also I'm surprised that more people haven't complained of this same

problem. I wouldn't think my setup is that unusual. I do

need a solution, as this is going to become a big problem with future

game purchases if I can't get this resolved.

Thanks for your help,

Randy Petersen

rkpetersen at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 13

I am completely agree with rkpetersen <-
I searched around the Web and I find out that many people have same problem like me and rkpetersen and JF002
We need complete solution for this bug
I use Directx uninstaller utility but my problem is Stable! I restore my system to ante use Directx uninstaller utility but I see bug was thitherto (before use Directx uninstaller utility)
then this is registry bug

I have software in this windows then I cant install new windows!

HamidFULL at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 14
OK, well, here's some follow-up for Hamidfull and anyone else who might be interested.

Basically, after installing Windows Service Pack 2, the DirectX installer worked perfectly and the game Fable now loads fine.

So, my conclusion is that SP2 is required to get the latest

version of DirectX to install and work. If Microsoft is telling

people that the December release of DirectX will work with SP1, in my

opinion that is wrong wrong wrong!

I didn't need or want SP2 on my computer.

But as usual, MS forces people to do things their way, or no way at all.

rkpetersen at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...