Solved Failed API: SetAction() Error: (0x80070057) - The parameter is incorrect

This topic has been marked as resolved. If you think it is not resolved, you can report.
Katılım
14 Ağustos 2010
Mesajlar
79.058
Makaleler
289
Çözümler
2.268
Yer
İstanbul
Daha fazla  
Cinsiyet
Erkek
Profil Kapağı
1522743131
When installing the DirectX, you might see this error in the DXError.log:

Kod:
--------------------
[06/28/20 02:08:05] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 192, function: GetDXVersion

    Failed API:        RegQueryValueEx()
    Error:        (2) - Sistem belirtilen dosyayı bulamıyor.



    Current DirectX may be a older version which does not have the version value in the registry.

--------------------
[06/28/20 02:08:05] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 4764, function: DirectXUpdateGetSetupInformation

    GetDXVersion() failed.

--------------------
[06/28/20 02:08:05] module: dsetup32(Mar 30 2011), file: dxupdate.cpp, line: 280, function: CSetup::InstallPlugIn

    DirectXUpdateInstallPlugIn() failed.

--------------------
[06/28/20 02:08:05] module: dsetup32(Mar 30 2011), file: setup.cpp, line: 1727, function: CSetup::SetupForDirectX

    InstallPlugIn() failed.

--------------------
[06/28/20 02:12:31] module: DXWSetup(Mar 30 2011), file: dxwsetup.cpp, line: 352, function: CDXWSetup::InitInstallEngine

    Failed API:        SetAction()
    Error:        (0x80070057) - Parametre hatalı.



--------------------
[06/28/20 02:12:31] module: DXWSetup(Mar 30 2011), file: psheets.cpp, line: 705, function: PreinstDlgProc

    CDXWSetup::InitInstallEngine() failed.

This is due to setup having a problem finding a Key in the Registry. And the Key is the Version, which is located here:

\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectX

To fix the issue:
  • Fire up Notepad and paste this text:

    Kod:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectX]
    "InstalledVersion"=hex:00,00,00,09,00,00,00,00
    "Version"="4.09.00.0904"

  • Now save the file as .REG! This is important. Not as TXT!
  • Now double click the REG file and confirm to add the values to Windows Registry.
You should now be able to install DirectX without an error.

Still got problem? Just create a Process Monitor Log for DXSETUP.exe and share it with a in a new thread. We'll take a look at it!
 
Son düzenleme:

Geri
Yukarı