我嘗試使用 winetricks 安裝 dotnet20 和 msxml6,但兩者都因不同的錯誤而失敗。
看起來點網FX20微軟下載中心不再提供。
這是我的命令輸出winetricks dotnet20
:
LinuxSchnitzel Downloads # winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
Executing mkdir -p /root/.cache/winetricks/dotnet20
Executing unzip -o -q -d /root/.wine/dosdevices/c:/windows/syswow64 l_intl.zip
Executing mkdir -p /root/.cache/winetricks/dotnet20
Downloading http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe to /root/.cache/winetricks/dotnet20
--2012-08-16 19:30:03-- http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe
Resolving download.microsoft.com (download.microsoft.com)... 80.239.221.105, 80.239.221.91
Connecting to download.microsoft.com (download.microsoft.com)|80.239.221.105|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-08-16 19:30:03 ERROR 404: Not Found.
------------------------------------------------------
Downloading http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe failed
------------------------------------------------------
那麼,我現在該怎麼辦?我嘗試安裝.Net框架2.0 SP1 x64手動,但是失敗並且沒有具體的錯誤訊息。
微軟XML6顯然可用,但失敗了。訊息對話框告訴我,msxml6 不適用於 64 位元。如何配置 wine 來獲取 64 位元軟體包?
輸出:
LinuxSchnitzel Downloads # winetricks msxml6
Executing w_do_call msxml6
Executing load_msxml6
Executing mkdir -p /root/.cache/winetricks/msxml6
Using native,builtin override for following DLLs: msxml6
Executing winetricks_early_wine regedit C:\windows\Temp\_msxml6\override-dll.reg
Executing wine msiexec /i /root/.cache/winetricks/msxml6/msxml6_x86.msi
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603
------------------------------------------------------
Note: command 'wine msiexec /i /root/.cache/winetricks/msxml6/msxml6_x86.msi' returned status 67. Aborting.
------------------------------------------------------
我想安裝 MS Office 2010 x86。我需要將 wine 配置為 64 位元嗎?
更新:
我成功安裝了 msxml6。為了能夠做到這一點,我必須將 ~/.wine 重新命名為其他名稱,並使用 .wine 重新建立 wine 配置$ WINEARCH=win32 winecfg
。
然後安裝 msxml6 就沒問題了。
更新2:
現在我已經將 wine 設定為以 32 位元模式運行,我可以從以下位置下載 dotnetfx.exe菲勒河馬並用 運行它$ wine dotnetfx.exe
。
遺憾的是,安裝失敗:
答案1
我昨天遇到了同樣的問題。我在 ubuntu 論壇上發布了修復:http://ubuntuforums.org/showthread.php?p=12176837
也許這比 filehippo 中的檔案效果更好。
編輯:確保 wine 處於 32 位元模式,如 wine-hq 頁面上針對 .net 2.0 的指定