http://bugs.winehq.org/show_bug.cgi?id=20128
--- Comment #3 from Hib Eris hib@hiberis.nl 2009-11-08 06:20:27 --- Created an attachment (id=24588) --> (http://bugs.winehq.org/attachment.cgi?id=24588) Several-net4-hacks-lumped-together
The hacks in this patch allow you to complete the installion with a success message. They are not ready at all to be included into wine, but give some indication what needs to be done to get the .Net 4.0 installer to work.
To run:
1. Apply the patch and rebuild msi.dll 2. > winetricks msxml3 3. > WINEDLLOVERRIDES="mscoree=native" WINEDEBUG="msi,msidb" wine dotNetFx40_Full_x86.exe (Note: there is no need to install a native mscoree.dll yourself, the installer will do this). 4. If the install is at about 75% it stalls because a program the installer started, ngen.exe, does not work properly. You can kill it by looking up the pid:
ps aux | grep ngen
and kill it with
kill <pid>
5. After this, installation continues a bit, to stall again. At this point you have to kill ngen again. 6. Now, installation continues but I think it ngen now gets stuck in an infinite loop. Kill ngen again. 7. Installation reports success, click finish. 8. Prompt does not return, end with crtl-c.