http://bugs.winehq.org/show_bug.cgi?id=30845
--- Comment #20 from Hans Leidekker hans@meelstraat.net 2012-06-28 10:28:21 CDT --- (In reply to comment #18)
Yes, it implements the steps in comment #10. It's a bit hard to read, but:
load_dotnet20() { w_call remove_mono ... # Recipe from http://bugs.winehq.org/show_bug.cgi?id=10467#c57 # and http://bugs.winehq.org/show_bug.cgi?id=30845#c10 w_set_winver win2k ... if w_workaround_wine_bug 30845 "Using native fusion while installing..." ,1.5.6 then w_try env WINEDLLOVERRIDES=mscoree,fusion=n $WINE dotnetfx.exe ${W_OPT_UNATTENDED:+/q /c:"install.exe /q"} else w_try $WINE dotnetfx.exe ${W_OPT_UNATTENDED:+/q /c:"install.exe /q"} fi ...
It also adds a key on 1.5.7 that shouldn't be there:
# A bug that popped up in 1.5.3 was fixed in 1.5.7; until then a # crappy workaround helps if w_workaround_wine_bug 30845 "Adding .NETFramework registry key. Ignore
fatal error dialog if it pops up." ,1.5.3 1.5.7,
then $WINE reg add 'HKLM\Software\Microsoft.NETFramework' /v InstallRoot /d 'C:\Windows\Microsoft.NET\Framework' /f fi