Back to Website

Installing Directx 9c on ReactOS 0.4.5

Ask your support questions in here

Moderator: Moderator Team

Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Mon Jun 19, 2017 10:36 am

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.
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby EmuandCo » Mon Jun 19, 2017 1:53 pm

user.exe is a legacy 16 bit application and is only used for 16 bit applications. Strange that it wants to check this one.
Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
EmuandCo
Developer
 
Posts: 3870
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld

Re: Installing Directx 9c on ReactOS 0.4.5

Postby EmuandCo » Mon Jun 19, 2017 4:28 pm

Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
EmuandCo
Developer
 
Posts: 3870
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld

Re: Installing Directx 9c on ReactOS 0.4.5

Postby hbelusca » Mon Jun 19, 2017 4:35 pm

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 ;) )
hbelusca
 
Posts: 865
Joined: Sat Dec 26, 2009 10:36 pm
Location: Orsay, France

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Tue Jun 20, 2017 3:42 am

I tried installing Directx with the stub exe it still fails seems it's looking for something specific in the file.

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()


I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby binarymaster » Tue Jun 20, 2017 11:50 am

Zombiedeth wrote:I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."

Try patch from CORE-13462.
binarymaster
 
Posts: 3
Joined: Sun Nov 16, 2014 7:05 pm

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Tue Jun 20, 2017 5:27 pm

I don't have a build environment setup
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby hbelusca » Tue Jun 20, 2017 6:46 pm

Zombiedeth wrote:I don't have a build environment setup

Please retest with r75151+.
hbelusca
 
Posts: 865
Joined: Sat Dec 26, 2009 10:36 pm
Location: Orsay, France

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Tue Jun 20, 2017 8:05 pm

that resolved it :D
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Tue Jun 20, 2017 9:15 pm

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
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby hbelusca » Tue Jun 20, 2017 9:30 pm

Zombiedeth wrote:that resolved it :D

Perfect!

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).
hbelusca
 
Posts: 865
Joined: Sat Dec 26, 2009 10:36 pm
Location: Orsay, France

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Zombiedeth » Tue Jun 20, 2017 11:28 pm

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

Image

and i get the following when running dxdiag
Image

Image
Zombiedeth
 
Posts: 58
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Postby Konata » Wed Jun 21, 2017 4:31 am

hbelusca wrote:
Zombiedeth wrote:that resolved it :D

Perfect!

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).


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.
Konata
 
Posts: 337
Joined: Sun Apr 20, 2014 8:54 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 10 guests