http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2011-07-08 16:02:11 CDT --- (In reply to comment #9)
'winetricks dotnet35' was broken briefly in svn, fixed by r674. But it's still acting funny; on some machines, it runs things like ngen install System.AddIn, ... I have to kill about ten of those before it will complete.
This works for me: 1. create fresh prefix 2. set version to win2k 3. rm -rf ~/.wine/drive_c/windows/Microsoft.NET/Framework/v2.0.50727 4. rm -rf ~/.wine/drive_c/windows/Microsoft.NET/Framework/v3.0 5. wine reg delete "HKLM\Software\Microsoft\Net Framework Setup\NDP\v2.0.50727" 6. wine reg delete "HKLM\Software\Microsoft\Net Framework Setup\NDP\v3.0" 7. wine reg delete "HKLM\Software\Microsoft\Net Framework Setup\NDP\v3.5" 8. wine dotnetfx.exe # make sure services are stopped: 9. server/wineserver -k 10. WINEDLLOVERRIDES=ngen.exe,regsvcs.exe,mscorsvw.exe=b wine NetFx20SP1_x86.exe 11. set version to winxp 12. wine dotnetfx3.exe # workaround for bug 16876: 13. wine msiexec /i XPSEP\ XP\ and\ Server\ 2003\ 32\ bit.msi 14. wine sc delete FontCache3.0.0.0 15. wine NetFx30SP1_x86.exe 16. WINEDLLOVERRIDES=ngen.exe=b wine dotnetfx35.exe /lang:ENU
Though I would split this up into recipes for 2.0 sp1, 3.0 sp1 and 3.5 and make the latter depend on the first two.