WMC on Build 2004 (May 2020 Update)

Discussion of getting WMC to work on Windows 10 (unsupported)
technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#21

Post by technodevotee » Sun Jun 21, 2020 6:12 am

@garyan2

I wondered if that was what happened to @newdamage1 as that very thing happened to me when I upgraded my Living Room PC last week.

I was going to mention it and ask whether you had some ideas about how to work through it but didn't have time to write the post last night.

User avatar
garyan2

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

HTPC Specs: Show details

#22

Post by garyan2 » Sun Jun 21, 2020 6:55 am

Yah, I have this bookmarked (viewtopic.php?f=99&t=12004) to maybe revisit and develop something to transfer any backup to any computer.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#23

Post by technodevotee » Sun Jun 21, 2020 7:29 am

I was working on something along those lines but couldn't get it to work.

It would be great if you could create something that would resolve the problem.

It has happened to me a few times and it is a PITA - especially on my Living Room PC.

BTW, forgot to say that I'm now using EPG123 V1.3.7.0 and it is working great. Thanks for all your hard work!

newdamage1

Posts: 12
Joined: Thu May 04, 2017 10:23 pm
Location:

HTPC Specs: Show details

#24

Post by newdamage1 » Sun Jun 21, 2020 11:34 pm

garyan2 wrote: Sat Jun 20, 2020 10:59 pm
newdamage1 wrote: Sat Jun 20, 2020 8:22 pmI figured out what was going on. I did an OS reinstall on a new disk checked things at every step, and it turns out to be a bad backup file of EPG123. Once I manual set up of my channels everything went back to normal. Thanks again for your help!!
The backup created by EPG123 will only work to restore your tuners if it is on the same machine and same OS install. A fresh OS, or a different machine, will not work due to different GUIDs of the tuners in the registry. So not a bad backup, just a limitation in using the backup to restore tuners.

I haven't developed a way to "transfer" tuner setups across machines. Programmatically it would be an easy process. The hard part will be to develop the user interface so they can manually identify which tuners from the backup go to the current tuners of the machine.
This is good to know! My living room and bedroom PC's are the same builds (MB, hdd, ram, etc), and I don't recall moving a backup from one to the other, but its been 1year+ since the initial setup and may have. Thanks to both of you for your hard work. Most appreciated.

o2cats

Posts: 32
Joined: Fri Jul 24, 2015 12:36 am
Location:

HTPC Specs: Show details

#25

Post by o2cats » Sat Jun 27, 2020 2:59 pm

I broke mine with the 2004 update also. WMC just does not open(and epg123 is not registered), even after applying the fix dll, and MSSQLLite DLLs patches, and restarting.

I wanted to uninstall/re-install, but could not remember how, since it is not listed in the MS apps.

I would try something else instead, if that is recommended.

Thanks

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#26

Post by technodevotee » Sat Jun 27, 2020 3:43 pm

viewtopic.php?p=140704#p140704

Backing up and restoring the data probably won't work for you though because the registry entries get wiped in the update.

o2cats

Posts: 32
Joined: Fri Jul 24, 2015 12:36 am
Location:

HTPC Specs: Show details

#27

Post by o2cats » Sat Jun 27, 2020 10:58 pm

technodevotee wrote: Sat Jun 27, 2020 3:43 pm viewtopic.php?p=140704#p140704

Backing up and restoring the data probably won't work for you though because the registry entries get wiped in the update.
Thanks, I am back up and running. I made a couple of mistakes I thought I would mention, in case it may help others. I followed the instructions of v8.8.4, but had the same problem, even after executing the MSSQLLite fix. I tried a 2nd time, same thing. I then tried the v13, with the same results, until I re-read the MSSQLLite instructions. I had extracted to my c:\WMC folder, instead of the c:\WMC\WMC-V8.8.4 folder. Executing from that folder fixed the problem. I even wonder if I had originally executed the cmd before the uninstall/re-install process may have fixed the issue.

Thanks again.

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#28

Post by technodevotee » Sun Jun 28, 2020 7:51 am

All the assemblies and registry keys including those for the services are removed in the upgrade.

I tried to create a repair tool but wouldn't work and the only way to fix it seems to be to uninstall and reinstall.

Incidentally, fix_mssqllite in included with V13.

tecky7

Posts: 6
Joined: Thu Jul 09, 2020 8:41 pm
Location:

HTPC Specs: Show details

#29

Post by tecky7 » Thu Jul 09, 2020 9:16 pm

As a programmer at the University of Bolton

I reinstalled May 2020 Windows 10 with all updates and drivers.

i used "WMC-V13_x64.zip" to install Windows Media Center.

The only difference I use on 2004 edition of Windows was this:-

I used "wmc_multi_tool" and selected 1 - 6 and B to restore the functions of the app

Windows Media Centre
https://imgur.com/a/HSdE29F

Version of Windows
https://imgur.com/a/5NLjdSQ

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#30

Post by technodevotee » Thu Jul 09, 2020 9:45 pm

tecky7 wrote: Thu Jul 09, 2020 9:16 pm As a programmer at the University of Bolton

I reinstalled May 2020 Windows 10 with all updates and drivers.

i used "WMC-V13_x64.zip" to install Windows Media Center.

The only difference I use on 2004 edition of Windows was this:-

I used "wmc_multi_tool" and selected 1 - 6 and B to restore the functions of the app
I don't understand why you went to all that trouble.

WMC V13 doesn't use the DLLs in windows\ehome that options one to three replace so those wouldn't have had any effect.

EncDec.dll and the required registry entries wouldn't exist on 2004 so option six wouldn't have any effect.

The App paths are created by the installer so option B isn't required but option A would have been unless you had already reinstated MSSQLLite by some other means.

Also, all the scripts required to get V13 working on 2004 are included in the installer and their functions are described in the known issues text file.

Sergei

Posts: 6
Joined: Wed Jan 02, 2013 1:15 pm
Location:

HTPC Specs: Show details

#31

Post by Sergei » Fri Aug 28, 2020 2:49 pm

I'm having a peculiar problem since build 2004.

As others have mentioned, the only thing to do was reinstall WMC completely. After setting everything up again from scratch, I tried to back up the settings - and lost them all.

Simply attempting to do a backup with BackupRestoreSettings.cmd apparently corrupted the channel guide info.

The script gave a warning about there being a younger version of the data than the one referred to in the registry and asked if I wanted to replace it. I didn't know whether to or not, but I tried a few times and the outcome was the same no matter what option I chose.

So now I have all the channels and data set up again just as I like, but I don't dare back it up!

Some change to the registry in 2004?

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#32

Post by technodevotee » Fri Aug 28, 2020 4:56 pm

Some people (including me) have found that Windows assigns new GUIDs to the tuners during the 2004 update and WMC Can't find the tuners so it dumps the settings and creates a new database instance. In itself, doing a backup won't cause you to lose the settings as long as you go with the latest database because that is where the latest settings will be.

The only time that using a previous version of database is helpful is when WMC erroneously created a new instance of the database and you are certain that the old one is actually usable.

The database instance is selected in a registry key and can be changed manually.

waneo

Posts: 15
Joined: Sun May 03, 2020 2:03 am
Location:

HTPC Specs: Show details

#33

Post by waneo » Sun Aug 30, 2020 11:19 pm

Hi guys, can I get a lil more detailed instructions on what files need to go where. I downloaded the "restore_mssqllite" zip file. Just not sure what file/s to put where..

Regards
Wayne

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#34

Post by technodevotee » Mon Aug 31, 2020 5:56 am

you should end up with something like this:

Code: Select all

 Volume in drive C has no label.
 Volume Serial Number is 16FC-89C0

 Directory of C:\temp\wmc-v8.8.4

28/08/2020  14:33    <DIR>          .
28/08/2020  14:33    <DIR>          ..
12/08/2016  01:32               950 8.7-8.8-QuickFix.reg
07/08/2016  02:42             1,932 BackupRestoreSettings.cmd
28/08/2020  15:50    <DIR>          bin
10/08/2016  20:23             1,299 InstallerBLUE.cmd
10/08/2016  20:22             1,302 InstallerGREEN.cmd
07/08/2016  02:39               740 ResetSettings.cmd
28/08/2020  14:34               428 restore_MSSQLLite.cmd
06/07/2016  08:54             1,341 Uninstaller.cmd
07/08/2016  02:59             4,957 Workarounds.txt
11/04/2019  18:26             7,760 _ReadMe.txt
07/08/2016  02:43               855 _TestRights.cmd
              10 File(s)         21,564 bytes

 Directory of C:\temp\wmc-v8.8.4\bin

28/08/2020  15:50    <DIR>          .
28/08/2020  15:50    <DIR>          ..
20/09/2015  03:54            93,523 Acl
13/09/2015  07:17           134,535 AclClass
16/09/2015  09:26            18,908 AclSoft
13/09/2015  07:21             2,906 AclSoftWow
12/09/2015  00:08               448 AclSys
12/07/2016  15:41             8,628 AclTaskCache
15/08/2020  20:34    <DIR>          ehres
11/08/2016  20:43           247,316 Install.reg
10/08/2016  23:48            21,866 InstallBLUE.bat
10/08/2016  23:49            21,866 InstallGREEN.bat
15/08/2020  20:34    <DIR>          MediaCenter
18/09/2019  08:15               659 MSSqllite.reg
14/12/2015  21:39            18,432 NSudoC.exe
12/07/2016  12:48            32,256 ntrights.exe
28/08/2020  14:35               628 restore_MSSQLLite.bat
10/09/2012  21:23           559,528 SetACL.exe
19/03/2019  12:41           139,776 sqlcecompact40.dll
19/03/2019  12:41           205,312 sqlceoledb40.dll
19/03/2019  12:41           920,064 sqlceqp40.dll
19/03/2019  12:41           524,800 sqlcese40.dll
15/08/2020  20:36    <DIR>          Tasks
24/07/2019  17:13            21,024 Uninstall.bat
11/09/2015  20:02            71,758 Uninstall.reg
13/11/2015  00:04         9,568,256 windows10.0-kb3106246-x64.msi
              21 File(s)     12,612,489 bytes

waneo

Posts: 15
Joined: Sun May 03, 2020 2:03 am
Location:

HTPC Specs: Show details

#35

Post by waneo » Mon Aug 31, 2020 2:13 pm

Techno, thank you for that. It's much appreciated.

waneo

Posts: 15
Joined: Sun May 03, 2020 2:03 am
Location:

HTPC Specs: Show details

#36

Post by waneo » Mon Aug 31, 2020 2:16 pm

So after putting the files in the directory, do I uninstall and then reinstall?

How is the mssqllite file executed?

technodevotee

Posts: 963
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#37

Post by technodevotee » Mon Aug 31, 2020 6:17 pm

no need to uninstall and reinstall WMC if you already did that after the 2004 upgrade.

just run restore_mssqllite.cmd and WMC should start working.

You shouldn't need to run it again until MS upgrade Windows 10 again (they'll probably break something else though).

waneo

Posts: 15
Joined: Sun May 03, 2020 2:03 am
Location:

HTPC Specs: Show details

#38

Post by waneo » Mon Aug 31, 2020 9:34 pm

Thanks techno, appreciate the help

waneo

Posts: 15
Joined: Sun May 03, 2020 2:03 am
Location:

HTPC Specs: Show details

#39

Post by waneo » Mon Aug 31, 2020 9:44 pm

OK, it has started..

Post Reply