EPG123 failing to find WMC after Win10 update to build 20H2

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf
Post Reply
TimPrice

Posts: 5
Joined: Fri Apr 16, 2021 3:29 pm
Location:

HTPC Specs: Show details

EPG123 failing to find WMC after Win10 update to build 20H2

#1

Post by TimPrice » Fri Apr 16, 2021 5:01 pm

Just wondering if anyone else is having the same issue. Since the Windows 10 update (Win10 ver. 20H2), I had the issue of WMC 8.8.4 not starting. I updated to WMC 8.8.5 and all works great, but one thing, EPG123 no longer sees MCE. In response, I cleaned off EPG123 and reinstalled it to V1.6.3.1. I have tried uninstalling and reinstalling several times (both MCE 8.8.5 and EPG123 V1.6.3.1). I still have the issue that EPG123 V1.6.3.1 will not see MCE at all to implement its stuff.
So, I have a couple of questions, hoping that someone can help me:
Has anyone had this issue?
What is the qualifier that EPG123 utilizes to decide if MCE is installed or not?
Is there a workaround for this, ie. EPG123 being fooled into believing that MCE is actually there?

User avatar
garyan2

Posts: 5943
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#2

Post by garyan2 » Fri Apr 16, 2021 8:31 pm

EPG123 will look for the presence of c:\windows\ehome\ehshell.exe. If it doesn't see it, it will prompt with the following message.

Code: Select all

WMC is not present on this machine. Closing EPG123 Client Guide Tool.
It will then look into the dll's mcepg.dll, mcstore.dll, and BDATunePIA.dll files using reflection to determine what version WMC is on the machine. If it can't access the dll's, or the versions are not one of the expected (6.1.0.0, 6.2.0.0, or 6.3.0.0), then it will prompt with the following message.

Code: Select all

Could not verify Windows Media Center is installed on this machine. EPG123 Client cannot be started without WMC being present.
There is no way to trick this. The client needs to understand which version of WMC is installed in order to access the WMC database. Without being able to open the database the client really can't do anything. Have you run the client as administrator to see if maybe this is an access problem to the dll's? Maybe the security descriptors for the ehome folder is not correct. Did you uninstall 8.8.4 before installing 8.8.5? I'm on 20H2 now with 8.8.5 and don't have an issue.
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

User avatar
garyan2

Posts: 5943
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#3

Post by garyan2 » Fri Apr 16, 2021 8:39 pm

One other note on the above... the dll's need to be in the GAC for the client to determine the versions.

c:\windows\microsoft.net\assembly\gac_*\
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

TimPrice

Posts: 5
Joined: Fri Apr 16, 2021 3:29 pm
Location:

HTPC Specs: Show details

#4

Post by TimPrice » Fri Apr 16, 2021 9:13 pm

Thanks,
I get the second error splash-screen. I will start looking there.

TimPrice

Posts: 5
Joined: Fri Apr 16, 2021 3:29 pm
Location:

HTPC Specs: Show details

#5

Post by TimPrice » Fri Apr 16, 2021 9:57 pm

Sorry, forgot to answer the question: Yes, I did uninstall prior to reinstall. I did have an issue with the windows update to 20H2, in that MCE would no longer boot. I then upgraded to 8.8.5 and that then allowed me to boot into MCE. All works as expected, but the issue with reinstalling 1.6.3.1
Thanks for your time,
This program is the best, used it for years.
Tim

TimPrice

Posts: 5
Joined: Fri Apr 16, 2021 3:29 pm
Location:

HTPC Specs: Show details

#6

Post by TimPrice » Fri Apr 16, 2021 10:42 pm

I am assuming that you are refering to the GAC_32 directory. Not sure if I am running a 64 bit machine makes any difference, but none of them are found in the GAC_64. (Side Note: Was there ever a 64 bit version of MCE, just curious?) The BDATunPIA.dll is in the directory under "c:\windows\microsoft.net\assembly\gac_32\BDATunPIA\v4.0_6.3.00_31bf3856ad64e35\". The other two are in "c:\windows\ehome\". By "Refection" do you mean that they are copies, or need to be copied somewhere?
Thanks again,
Tim

User avatar
garyan2

Posts: 5943
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#7

Post by garyan2 » Fri Apr 16, 2021 11:41 pm

On my system, I have BDATunePIA in both GAC_32 and GAC_64; mcepg and mcstore are both in GAC_MSIL.

I'm probably not using the term correctly, but my use of "reflection" is internal to epg123 on how it can look at an object without "touching" the original object.

EDIT: Looking at my code, it is only looking for the assembly version of mcepg.dll in the GAC. So if it is not there, then epg123 will give the prompt that it couldn't determine if WMC was installed.
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

User avatar
garyan2

Posts: 5943
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#8

Post by garyan2 » Fri Apr 16, 2021 11:59 pm

Here is the relevant actions in the 8.8.5 install batch file for mcepg.

Code: Select all

mklink /h %SystemRoot%\Microsoft.NET\assembly\GAC_MSIL\mcepg\v4.0_6.3.0.0__31bf3856ad364e35\mcepg.dll %SystemRoot%\ehome\mcepg.dll >nul 2>&1
...

set _ngen=%windir%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
...
%_ngen% install "mcepg, Version=6.3.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil" /NoDependencies /queue:1 >nul 2>&1
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

Post Reply