https://bugs.winehq.org/show_bug.cgi?id=35677
Bug ID: 35677 Summary: BBC iPlayer Desktop installer reports 'You need Windows Media Player (9 or above) to install this software.' Product: Wine Version: 1.7.13 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
the installer looks for 'C:\Program Files\Windows Media Player\wmplayer.exe'
It might be useful to provide this executable as builtin (with version resource) to fake the presence of Windows Media Player installation now that Wine started implementing components.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+msi wine ./BBC-iPlayer_Setup.exe >>log.txt 2>&1 ... 0025:trace:msi:iterate_appsearch L"WM_VERSION" L"WMPlayerVer" 0025:trace:msi:ACTION_AppSearchGetSignature package 0x15ea40, sig 0x33e70c ... 0025:trace:msi:MSI_DatabaseOpenViewW L"select * from Signature where Signature = 'WMPlayerVer'" 0x33e608 ... 0025:trace:msi:ACTION_AppSearchGetSignature Found file name L"wmplayer.exe" for Signature_ L"WMPlayerVer"; 0025:trace:msi:ACTION_AppSearchGetSignature MinVersion is 9.0.0.0 0025:trace:msi:ACTION_AppSearchGetSignature MaxVersion is 0.0.0.0 0025:trace:msi:ACTION_AppSearchGetSignature MinSize is 0, MaxSize is 0; 0025:trace:msi:ACTION_AppSearchGetSignature Languages is (null) ... 0025:trace:msi:ACTION_SearchDirectory 0x15ea40, 0x33e70c, L"C:\Program Files\Windows Media Player\", 0, 0x33e740 0025:trace:msi:ACTION_RecurseSearchDirectory Searching directory L"C:\Program Files\Windows Media Player\" for file L"wmplayer.exe", depth 0 0025:Call ntdll.RtlAllocateHeap(00110000,00000000,00000068) ret=7dbe75af 0025:Ret ntdll.RtlAllocateHeap() retval=0017e8d8 ret=7dbe75af 0025:Call shlwapi.PathAddBackslashW(0017e8d8 L"C:\Program Files\Windows Media Player\") ret=7dbe9625 0025:Ret shlwapi.PathAddBackslashW() retval=0017e924 ret=7dbe9625 0025:Call KERNEL32.FindFirstFileW(0017e8d8 L"C:\Program Files\Windows Media Player\wmplayer.exe",0033dcf8) ret=7dbe9655 0025:Ret KERNEL32.FindFirstFileW() retval=ffffffff ret=7dbe9655 0025:Call shlwapi.PathAddBackslashW(0017e8d8 L"C:\Program Files\Windows Media Player\") ret=7dbe9754 0025:Ret shlwapi.PathAddBackslashW() retval=0017e924 ret=7dbe9754 0025:Call KERNEL32.FindFirstFileW(0017e8d8 L"C:\Program Files\Windows Media Player\*.*",0033dcf8) ret=7dbe9784 0025:Ret KERNEL32.FindFirstFileW() retval=ffffffff ret=7dbe9784 ... 0025:Call KERNEL32.GetFileAttributesW(00000000) ret=7dbe9ca3 0025:Ret KERNEL32.GetFileAttributesW() retval=ffffffff ret=7dbe9ca3 0025:trace:msi:ACTION_SearchDirectory returning 0 ... 0025:trace:msi:ACTION_AppSearchDr returning 0 ... 0025:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 200 L"Property: WM_VERSION, Signature: WMPlayerVer" ... 0025:trace:msi:MSI_EvaluateConditionW 0 <- L"WM_VERSION" ... 0025:trace:msi:msi_get_property returning (null) for property L"WRONGWMVERSION" ... 0025:trace:msi:msi_get_property returning L"You need Windows Media Player (9 or above) to install this software." for property L"WRONGWMVERSION" ... 0025:Call user32.MessageBoxW(00000000,0017dcf8 L"You need Windows Media Player (9 or above) to install this software.",7dc67952 L"Install Failed",00000000) ret=7dbd9d83 --- snip ---
$ sha1sum BBC-iPlayer_Setup.exe ba6368a7f4d4c4c33407a30605d0ade6b7d6d1d4 BBC-iPlayer_Setup.exe
$ du -sh BBC-iPlayer_Setup.exe 5.9M BBC-iPlayer_Setup.exe
$ wine --version wine-1.7.13-53-g37e0a1a
Regards
https://bugs.winehq.org/show_bug.cgi?id=35677
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://downloads.bbc.co.uk/ | |iplayer/BBC-iPlayer_Setup.e | |xe Component|-unknown |programs
https://bugs.winehq.org/show_bug.cgi?id=35677
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |16505
https://bugs.winehq.org/show_bug.cgi?id=35677
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #1 from Teras teras@luukku.com --- The same 1.7.37
https://bugs.winehq.org/show_bug.cgi?id=35677
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|BBC iPlayer Desktop |BBC iPlayer Desktop |installer reports 'You need |installer reports 'You need |Windows Media Player (9 or |Windows Media Player (9 or |above) to install this |above) to install this |software.' |software.' (builtin | |'wmplayer.exe' along with | |version resource missing)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-1.7.54-179-ga0d0d0d
Regards
https://bugs.winehq.org/show_bug.cgi?id=35677
--- Comment #3 from Austin English austinenglish@gmail.com --- Created attachment 52720 --> https://bugs.winehq.org/attachment.cgi?id=52720 stub patch
I used the version from win7 (I don't have XP available), but that doesn't seem to work.
https://bugs.winehq.org/show_bug.cgi?id=35677
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- quote --- I used the version from win7 (I don't have XP available), but that doesn't seem to work. --- quote ---
since you added a new program, really make sure the configure script is up to date (autoconf/autoreconf).
Regards
https://bugs.winehq.org/show_bug.cgi?id=35677
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #4)
Hello Austin,
--- quote --- I used the version from win7 (I don't have XP available), but that doesn't seem to work. --- quote ---
since you added a new program, really make sure the configure script is up to date (autoconf/autoreconf).
Regards
Thanks for the tip, I had run autoconf after committing, but maybe I didn't run make at the top level. Worked on top of a clean tree.
https://bugs.winehq.org/show_bug.cgi?id=35677
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |austinenglish@gmail.com
--- Comment #6 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/116445
https://bugs.winehq.org/show_bug.cgi?id=35677
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b871ebdc7756b5b5be4a6b6140f | |cda49fa77a22b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #6)
https://source.winehq.org/git/wine.git/commitdiff/b871ebdc7756b5b5be4a6b6140...
https://bugs.winehq.org/show_bug.cgi?id=35677
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.55.