Installing Directx 9c on ReactOS 0.4.5
Moderator: Moderator Team
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Installing Directx 9c on ReactOS 0.4.5
As of ReactOS 0.4.5 Directx 9c install can complete. ReactOS is still missing user.exe though and without it the install will not start. The installer only seems to need the user.exe to check it's version number so i wonder if a stub.exe could be added because many games will try to install this version of Directx and will fail if the file is not there. Unfortunately ReactOS hangs on boot after install i've checked the log and there are a few errors.
DirectX.log
https://pastebin.com/HUXwWmpF
chkdsk doesn't show any filesystem errors. and i'm unable to get a debug log on screen just a black screen and the OS hangs.
DirectX.log
https://pastebin.com/HUXwWmpF
chkdsk doesn't show any filesystem errors. and i'm unable to get a debug log on screen just a black screen and the OS hangs.
- EmuandCo
- Developer
- Posts: 4723
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
Re: Installing Directx 9c on ReactOS 0.4.5
user.exe is a legacy 16 bit application and is only used for 16 bit applications. Strange that it wants to check this one.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
- EmuandCo
- Developer
- Posts: 4723
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
Re: Installing Directx 9c on ReactOS 0.4.5
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
Re: Installing Directx 9c on ReactOS 0.4.5
With r75126 I've added to compilation a stub user.exe that should be present in %SystemRoot%\system32, to mitigate the DirectX 9.0 installation check that always want user.exe to be present. As it can be seen from the commit log, this problem is indeed not a ReactOS problem, but is also known by some Windows users.
(Thanks EmuandCo for the GIT link btw )
(Thanks EmuandCo for the GIT link btw )
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Re: Installing Directx 9c on ReactOS 0.4.5
I tried installing Directx with the stub exe it still fails seems it's looking for something specific in the file.
I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
Code: Select all
06/19/17 17:07:07: DXSetup: No command line switch
06/19/17 17:07:07: DXSetup: StartWizard()
06/19/17 17:07:16: DXSetup: CDXWSetup()
06/19/17 17:07:18: DXSetup: start installation
06/19/17 17:07:18: DSETUP: DirectXSetupA(): hWnd: 000A0126 dwFlags: 02010098
06/19/17 17:07:18: dsetup32: === SetupForDirectX() start ===
06/19/17 17:07:18: dsetup32: DXSetupCommand = 0.
06/19/17 17:07:18: DXSetup: DSetupCallback(): Phase = 0, Steps = 0
06/19/17 17:07:18: dsetup32: DirectXSetupIsJapanese == 0
06/19/17 17:07:18: dsetup32: DirectXSetupIsJapanNec == 0
06/19/17 17:07:18: dsetup32: Installing on Windows Server 2003
06/19/17 17:07:18: dsetup32: GetFileVersionInfoBlock(): Unable to get FileVersionInfoSize, file: C:\ReactOS\System32\user.exe, reason: 1812.
06/19/17 17:07:18: dsetup32: Installation ended with value -9 = Internal or unsupported error
06/19/17 17:07:24: DXSetup: WM_APP_ENDINSTALL
06/19/17 17:07:24: DXSetup: ~CDXWSetup()
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
- binarymaster
- Posts: 481
- Joined: Sun Nov 16, 2014 7:05 pm
- Location: Russia, Moscow
- Contact:
Re: Installing Directx 9c on ReactOS 0.4.5
Try patch from CORE-13462.Zombiedeth wrote:I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
by Stas'M | https://github.com/binarymaster
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Re: Installing Directx 9c on ReactOS 0.4.5
I don't have a build environment setup
Re: Installing Directx 9c on ReactOS 0.4.5
Please retest with r75151+.Zombiedeth wrote:I don't have a build environment setup
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Re: Installing Directx 9c on ReactOS 0.4.5
that resolved it
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Re: Installing Directx 9c on ReactOS 0.4.5
I also tracked down why ReactOS is hanging on boot after installing directx9 it replaces swenum.sys. If i copy back the ReactOS version booting to desktop succeeds
Re: Installing Directx 9c on ReactOS 0.4.5
Perfect!Zombiedeth wrote:that resolved it
And yeah it appears DirectX modifies quite a lot of core multimedia files (it's not a problem for Microsoft since, as always, their products can be tightly integrated with the OS, but it can be a problem for us).
-
- Posts: 119
- Joined: Fri Jun 27, 2014 9:01 am
Re: Installing Directx 9c on ReactOS 0.4.5
I continue to be impressed with ReactOS and i'm sure it will overcome the hurdles to becoming a widely used windows compatible OS.
Back to testing i get the following error on boot
[ external image ]
and i get the following when running dxdiag
[ external image ]
[ external image ]
Back to testing i get the following error on boot
[ external image ]
and i get the following when running dxdiag
[ external image ]
[ external image ]
Re: Installing Directx 9c on ReactOS 0.4.5
This makes me think ReactOS should detect installer/setup executables and have options/controls before running them that allow users to deny the executable write permissions to the files it attempts to write to. A tiny bit of a hack, but it could be useful, and it doesn't involve hardcoding anything aside from the common installer types.hbelusca wrote:Perfect!Zombiedeth wrote:that resolved it
And yeah it appears DirectX modifies quite a lot of core multimedia files (it's not a problem for Microsoft since, as always, their products can be tightly integrated with the OS, but it can be a problem for us).
Who is online
Users browsing this forum: No registered users and 16 guests