使用 wine 在 Mac 上运行 winscp

使用 wine 在 Mac 上运行 winscp

我有一台 Mac(El Capitan OS),我真的很想使用winscp它。

我使用以下方法在 Mac 上安装了 wine:

brew install wine

它安装了:

https://homebrew.bintray.com/bottles/wine-3.0_2.el_capitan.bottle.tar.gz

然后我下载了最新的winscp安装程序:WinSCP-5.13.2-Setup.exe并尝试:

wine WinSCP-5.13.2-Setup.exe

我收到了这些错误:

004b:err:process:__wine_kernel_init boot event wait timed out
004b:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004b:fixme:process:SetProcessDEPPolicy (1): stub
004d:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004d:fixme:process:SetProcessDEPPolicy (1): stub
004d:fixme:win:DisableProcessWindowsGhosting : stub
004d:fixme:graphics:ShutdownBlockReasonDestroy (0x2008a): stub
004d:fixme:graphics:ShutdownBlockReasonCreate (0x2008a, L"Installing"): stub
004d:fixme:graphics:ShutdownBlockReasonDestroy (0x2008a): stub
004d:fixme:graphics:ShutdownBlockReasonCreate (0x2008a, L"Installing WinSCP."): stub
004d:fixme:msg:ChangeWindowMessageFilterEx 0x2007c c05a 1 0x0
004d:fixme:msg:ChangeWindowMessageFilterEx 0x3007c c05a 1 0x0
004d:fixme:msg:ChangeWindowMessageFilterEx 0x30074 c05a 1 0x0
004d:fixme:msg:ChangeWindowMessageFilterEx 0x40074 c05a 1 0x0
004d:fixme:shell:SHAutoComplete stub
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:err:ole:CoGetClassObject class {2087c2f4-2cef-4953-a8ab-66779b670495} not registered
004d:err:ole:create_server class {2087c2f4-2cef-4953-a8ab-66779b670495} not registered
004d:err:ole:CoGetClassObject no class object {2087c2f4-2cef-4953-a8ab-66779b670495} could be created for context 0x5
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200d6 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200e0 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200e0 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x400fe enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x400fe enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200e0 enable 0: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200e0 enable -1: stub!
004d:fixme:win:WINNLSEnableIME hwnd 0x200de enable 0: stub!
004d:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
004d:err:ole:CoGetClassObject no class object {56fdf344-fd6d-11d0-958a-006097c9a090} could be created for context 0x1
004d:fixme:sfc:SfcIsFileProtected (0x0, L"c:\\Program Files\\WinSCP\\unins001.exe") stub
004d:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
004d:err:ole:create_server class {00021401-0000-0000-c000-000000000046} not registered
004d:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x5
004d:fixme:progress:ProgressWindowProc state 0002 not yet handled
004d:fixme:win:WINNLSEnableIME hwnd 0x200de enable -1: stub!

然后它会弹出安装程序对话框,最终抛出一个错误框,提示OLE error 80040154 classID: {00021401-0000-0000-C000-000000000046}

有任何想法吗?

答案1

就我而言,我已经下载mac 版 winebottler来自官方页面。它将 Windows 应用程序转换为 Mac 应用程序,现在程序正在运行,但当我使用 SCP 作为协议时,我仍然遇到 shell 问题(Shell 未运行),但使用 FTP 似乎运行良好。

如果我找到解决方案,我会更新我当前的帖子

相关内容