[Bug 20128] MS .Net (dotnet) 4.0 fails to install

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 25 08:41:53 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20128


Gustavo Conte <gustavo at ventania.blog.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gustavo at ventania.blog.br




--- Comment #5 from Gustavo Conte <gustavo at ventania.blog.br>  2010-08-25 08:41:52 ---
I THINK I DID IT

I've successfully managed to install .NET Framework 4.0 and Visual Studio 2010
by commenting an "if" at msi.dll action.c source code of wine-git;

Don't know how to test anyway :P 

It's very simple: 
* with a clean WINE PREFIX and NO OVERRIDES
* FIRST, with stable normal binary: winetricks gecko volnum fontfix msxml3

* get wine-git source code
* cd into the src dir dlls/msi/
* cp action.c action-old.c
* edit action.c

* on function 

static UINT ITERATE_Actions(MSIRECORD *row, LPVOID param)

* near at the end there  is this if:  

if (rc == ERROR_FUNCTION_NOT_CALLED)
        rc = ERROR_SUCCESS;

comment it like this:

 //if (rc == ERROR_FUNCTION_NOT_CALLED)
        rc = ERROR_SUCCESS;

* make a wicked mojo-dance while you compile wine 
* then:

* on wine-git src dir: ./server/wineserver -k

# OVERRIDE MSCOREE.DLL to native
./wine winecfg

# now example of installation cmd line, running from Visual Studio 2010 ISO
./wine /floppy/WCU/dotNetFramework/dotNetFx40_Full_x86_x64.exe
/NoSetupVersionCheck /x86

Installs like a charm.
Now.. .how can I test lol? ;)


PS: I've succesfully created a routine to install dotnet20, dotnet30
dotnet35sp1 and dotnet40 in that order, but the installation instructions are
different of the above. anyway anyone interested? where should I post?

Sry if did not help anyway, don't even know if it really worked... 

After a LOT of pain got Visual Studio 2010 Ultimate installed but not running
too. Perphaps it worked. Success?

cya

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list