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