我正在尝试运行一个游戏安装程序,该安装程序需要我向下滚动许可协议才能继续,它使用一些 IE 技术以 HTML 呈现,所以我相信我需要 wine-gecko.. 但是我该如何安装它?
wine msiexec /i wine-gecko-2.47.1-x86_64.msi
只是给我:
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
不能滚动意味着不能同意许可协议。
见:https ://wiki.winehq.org/Gecko
我正在运行 Ubuntu 20.04。
编辑#1
当 wine 初始化自己时,我得到了这个:
wine: created the configuration directory '/home/myuser/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/myuser/.wine" has been updated.
Could not find Wine Gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
所以看起来它正试图在某个地方找到壁虎..
在https://wiki.winehq.org/Gecko为您的 Wine 版本下载最新的 Gecko 文件。所以如果你有 Wine 5.* 你应该下载:
你确实需要 x86 和 x86_64 才能工作,但不需要下载
.tar.bz2
版本,.msi
这是你想要的。然后将它们放入
~/.cache/wine/
目录并第一次初始化/运行 Wine,例如通过运行wineboot
orwine someapp.exe
,但请确保您还没有~/.wine/
目录,如果您有,Wine 不会安装 Gecko。~/.wine/
但是,如果您有重要文件,当然不要删除该目录!