https://bugs.winehq.org/show_bug.cgi?id=35688
Bug ID: 35688 Summary: iMesh 7.x reports 'You are using an older version of Windows Media Player!' (needs WMP 10 version registry key) Product: Wine Version: 1.7.13 Hardware: x86 OS: Linux Status: NEW Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says... and the popup seems to be harmless (app still works).
The requested version seems to be application version dependent: iMesh 7.x wants at least WMP 10.x
There doesn't seem to exist a common WMP API to retrieve the version. Applications use different ways to check for it.
For example bug 35677 where the installer checks the version resource of 'C:\Program Files\Windows Media Player\wmplayer.exe'
This app reads WMP version key from registry.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/iMesh Applications/iMesh
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+wmp wine ./iMesh.exe >>log.txt 2>&1 ... 0024:Call advapi32.RegCreateKeyExW(80000002,00de0c40 L"SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade",00000000,00000000,00000000,0002001f,00000000,0033f0bc,00000000) ret=00492057 0024:Ret advapi32.RegCreateKeyExW() retval=00000000 ret=00492057 0024:Call advapi32.RegQueryValueExW(000000c0,00d61320 L"PlayerVersion",00000000,0033f160,0033f21c,0033f168) ret=004924a6 0024:Ret advapi32.RegQueryValueExW() retval=00000002 ret=004924a6 0024:Call advapi32.RegCloseKey(000000c0) ret=004924af 0024:Ret advapi32.RegCloseKey() retval=00000000 ret=004924af ... 0024:Call winex11.drv.SetWindowText(000103cc,0415e608 L"You are using an older version of Windows Media Player!") ret=7eb4e7a5 --- snip ---
I created the key in a fresh WINEPREFIX and it made the app happy.
--- snip --- [HKEY_LOCAL_MACHINE\Software\Microsoft\MediaPlayer\PlayerUpgrade] "PlayerVersion"="10,0,0,0" --- snip ---
$ sha1sum iMeshV7.exe 0e4aa7ae0da88b7f69a7daa1bca36f3f2f6c497b iMeshV7.exe
$ du -sh iMeshV7.exe 8.4M iMeshV7.exe
$ wine --version wine-1.7.13-100-gfcae016
Regards