Page 1 of 1

Reactos Shell on Server 2012 r2

Posted: Fri Apr 10, 2015 12:45 pm
by powerplayer
As we know server 2012 displays things fine without that dreadded dwm.exe but i don't want to add all the metro stuff so my question is how do i install the reactos shell on server 2012 r2? has some of you ros experts a patch of some sort?

Oh yea and the os is x64

Re: Reactos Shell on Server 2012 r2

Posted: Sat Apr 11, 2015 1:39 am
by gigaherz
There is a preprocessor flag in explorer's precomp.h to disable certain features that would prevent the shell from working on NT6 (vista and up). It was designed for easy debugging so it disables more than strictly necessary, including some features that you may consider essential, such as the desktop icons.

It would be possible to selectively remove some of the conditional preprocessor directives, so that those features are not disabled, while keeping the incompatible calls disabled, in order to properly launch the shell as best as possible. Keep in mind, though, that not everything will work fully right, even if you are able to launch the taskbar and start menu from ros.

The simplest method would be, once you have this modified explorer compiled, to just replace explorer.exe with yours, and add rshell.dll along with it. This would give you the taskbar and start menu from ros, while keeping the browse windows intact.

In order to have the browse windows from the ros shell also, you'd need to add also browseui, and some other files. But I don't believe that is a good choice, since our browseui lacks the treeview panel and other features.

Also, keep in mind that I have developed everything with win7, so I don't know the exact working status with windows 2012.

Re: Reactos Shell on Server 2012 r2

Posted: Sun Apr 12, 2015 5:43 pm
by powerplayer
Windows 2012 seems to be much better then windows 8 it comes with a command prompt only but it will not go black screen without dwm like windows 8 , could you please send me your patch so that i can test it?

Note
Windows server 2012 hyper-v has no explorer.exe or shell32.dll

Plus side its a free os days
Download is here
http://www.microsoft.com/en-us/evalcent ... er-2012-r2

Can you tweak the patch you have to work with this minimal OS?

My guess is:
Maybe it could need a regedit patch too

Re: Reactos Shell on Server 2012 r2

Posted: Sun Apr 12, 2015 7:25 pm
by gigaherz
Sorry I don't have the time currently to make such a patch for you. You will have to work it yourself.

Re: Reactos Shell on Server 2012 r2

Posted: Sun Apr 12, 2015 9:27 pm
by powerplayer
gigaherz wrote:Sorry I don't have the time currently to make such a patch for you. You will have to work it yourself.
Ok could i get your current patch and test it? I guess i have to add windows 7 files?

Re: Reactos Shell on Server 2012 r2

Posted: Sun Apr 12, 2015 9:55 pm
by gigaherz
There's no need for a patch, just get the latest code, open precomp.h inside the explorer folder, and turn on "WIN7_COMPAT_MODE". Then look for usages of that define, because you will want to change a few of them.

EDIT: Also, I have no idea what extra files you may need. You'll see when you try... ;P

Re: Reactos Shell on Server 2012 r2

Posted: Mon Apr 13, 2015 12:46 am
by powerplayer
gigaherz wrote:There's no need for a patch, just get the latest code, open precomp.h inside the explorer folder, and turn on "WIN7_COMPAT_MODE". Then look for usages of that define, because you will want to change a few of them.

EDIT: Also, I have no idea what extra files you may need. You'll see when you try... ;P

So how do i do all that? do i open the precomp.h in notepad or something?

Re: Reactos Shell on Server 2012 r2

Posted: Mon Apr 13, 2015 1:27 am
by gigaherz
I'd recommend at least Notepad++, if not Visual Studio, but yes, Notepad would do.