[Bug 32701] The Dame In Black Case: installer fails when registering msdxm6.ocx (needs 'HKLM\\Software\\Microsoft\\MediaPlayer' key 'Installation DirectoryLFN' value)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 28 14:41:38 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=32701

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download, Installer
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://www.gamershell.com/d
                   |                            |ownload_96347.shtml
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wmp&wmvcore
            Summary|The Dame In Black Case:     |The Dame In Black Case:
                   |installer fails when        |installer fails when
                   |registering msdxm6.ocx      |registering msdxm6.ocx
                   |                            |(needs
                   |                            |'HKLM\\Software\\Microsoft\
                   |                            |\MediaPlayer' key
                   |                            |'Installation DirectoryLFN'
                   |                            |value)
     Ever confirmed|0                           |1

--- Comment #12 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./The\ Dame\ in\ Black\
Case.exe >>log.txt 2>&1
...
0037:Call oleaut32.LoadTypeLib(0033f2e8
L"C:\\windows\\system32\\Msdxm6.ocx",0033f654) ret=1d321540
0037:trace:ole:LoadTypeLib (L"C:\\windows\\system32\\Msdxm6.ocx",0x33f654)
0037:trace:ole:LoadTypeLibEx (L"C:\\windows\\system32\\Msdxm6.ocx",0,0x33f654) 
...
0037:trace:ole:LoadTypeLibEx  returns 00000000
0037:Ret  oleaut32.LoadTypeLib() retval=00000000 ret=1d321540
...
0037:Call oleaut32.RegisterTypeLib(001770f0,0033f2e8
L"C:\\windows\\system32\\Msdxm6.ocx",0033f334 L"C:\\windows\\system32\\")
ret=1d321611
0037:trace:ole:ITypeLib2_fnGetLibAttr (0x1770f0, 0x33f1b8)
...
0037:Call advapi32.RegCreateKeyExW(80000000,0033f140
L"Typelib\\{22D6F304-B0F6-11D0-94AB-0080C74C7E95}\\1.0",00000000,00000000,00000000,00020006,00000000,0033f11c,00000000)
ret=7e9a4f8e
0037:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=7e9a4f8e
0037:trace:ole:ITypeLib2_fnGetDocumentation (0x1770f0) index -1 Name((nil))
DocString(0x33f10c) HelpContext((nil)) HelpFile((nil))
0037:trace:ole:SysAllocStringLen L"Windows Media Player" 
...
0037:Ret  oleaut32.RegisterTypeLib() retval=00000000 ret=1d321611
...
0037:Call advapi32.RegOpenKeyExA(80000002,0033f958
"Software\\Microsoft\\MediaPlayer",00000000,00020019,0033f668) ret=1d320e3c
0037:Ret  advapi32.RegOpenKeyExA() retval=00000002 ret=1d320e3c
0037:Call advapi32.RegCreateKeyExA(80000002,0033f958
"Software\\Microsoft\\MediaPlayer",00000000,00000000,00000000,000f003f,00000000,0033f658,0033f678)
ret=1d320dfb
0037:Ret  advapi32.RegCreateKeyExA() retval=00000000 ret=1d320dfb
0037:Call advapi32.RegQueryValueExA(00000090,0033f93c "Installation
DirectoryLFN",00000000,0033f668,0033f68c,0033f990) ret=1d320e9c
0037:Ret  advapi32.RegQueryValueExA() retval=00000002 ret=1d320e9c
0037:Call advapi32.RegCloseKey(00000090) ret=1d320dc9
0037:Ret  advapi32.RegCloseKey() retval=00000000 ret=1d320dc9
0037:Call KERNEL32.FreeLibrary(1d300000) ret=0043c7f4
0037:Call PE DLL (proc=0x1d379680,module=0x1d300000
L"Msdxm6.ocx",reason=PROCESS_DETACH,res=(nil)) 
...
0037:Call user32.MessageBoxA(00010092,004e8cdc
"C:\\windows\\system32\\Msdxm6.ocx\r\n\r\nUnable to register the DLL/OCX:
DllRegisterServer failed; code 0x80004005.\r\n\r\nClick Retry to try again,
Ignore to proceed anyway (not recommended), or Abort to cancel
installation.",00475708 "Error",00000032) ret=0042238b
--- snip ---

At least one Windows Media Player runtime install registry key needs to be
present.
It's one of several methods to detect if WMP is actually installed.

'winetricks -q wmp9' works around.

A less intrusive way is adding the following key prior installation:

--- snip ---
$ wine reg add "HKLM\\Software\\Microsoft\\MediaPlayer" /v "Installation
DirectoryLFN" /t REG_SZ /d "%ProgramFiles%\Windows Media Player"
--- snip ---

'%ProgramFiles%' has to be replaced by resolved value.

$ sha1sum The_Dame_in_Black-Case.zip
76108b152b98f698b1ffa9b5e14e2e28051f16d3  The_Dame_in_Black-Case.zip

$ du -sh The_Dame_in_Black-Case.zip
364M    The_Dame_in_Black-Case.zip

$ wine --version
wine-1.7.27-59-g857a35e

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list