http://bugs.winehq.org/show_bug.cgi?id=25060
Summary: .net 3.5 installer does not complete Product: Wine Version: 1.3.6 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The following steps gleaned from http://blogs.msdn.com/astebner/archive/2008/07/17/8745415.aspx try to do an offline install of .net 3.5:
winetricks dotnet20 wget http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f425... cabextract dotnetfx35.exe cd wcu/dotNetFramework wine dotNetFx35setup.exe /lang:ENU
This fails with an error dialog, and starting a .net 3.5 app (like Bloodline Champions) complains that .net 3.5 is not installed.
Partial workaround from Louis Lender (see original at http://bugs.winehq.org/show_bug.cgi?id=22551#c5 ): Change system.reg's [HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727] from "SP"=dword:00000000 to "SP"=dword:00000001 and then do cd ~/.wine/drive_c/wcu/dotNetFramework/dotNetFX35/x86/ cabextract netfx35_x86.exe msiexec /i vs_setup.msi ADDEPLOY=1
Then some apps will at least start.
(winetricks dotnet35 already does the first part; I should probably add Louis' steps, too.)
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #1 from Dan Kegel dank@kegel.com 2010-11-07 09:10:32 CST --- Typo: the first step was 'winetricks dotnet30', not 'winetricks dotnet20'.
http://bugs.winehq.org/show_bug.cgi?id=25060
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23816
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #2 from Dan Kegel dank@kegel.com 2010-11-08 03:59:13 CST --- OK, added that last workaround to winetricks from svn, so the dotnet35 verb might even be almost useful now. (Watch out for bug 25074 though.)
It'd still be nice for none of these workarounds to be needed, though.
http://bugs.winehq.org/show_bug.cgi?id=25060
Don Pobanz dpobanz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dpobanz@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25060
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=25060
Mauro nitro7x@yahoo.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nitro7x@yahoo.com.br
--- Comment #3 from Mauro nitro7x@yahoo.com.br 2011-03-14 21:36:52 CDT --- I installed and ran the Microsoft Visual Basic 2008 Express Edition using Mono 2.10.1 (full), and Windows Installer (3.1 & 4.0), which is one of the worst (if not worse) programs to install in wine that using the .Net Framework 3.5, so at least the I think that it useless to improve the compatibility of wine with the .Net 3.5 installer. We should test programs running on recent versions of Mono and Wine.
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #4 from Scott Ritchie scott@open-vote.org 2011-04-12 18:27:32 CDT --- Created an attachment (id=34074) --> (http://bugs.winehq.org/attachment.cgi?id=34074) Steam game looping endlessly
When you try to run Magicka via Steam it will attempt to install .net 3.5 in non-interactive mode. It loops endlessly with the attached output.
http://bugs.winehq.org/show_bug.cgi?id=25060
Eric Coolblack4@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Coolblack4@hotmail.com
--- Comment #5 from Eric Coolblack4@hotmail.com 2011-04-14 18:51:35 CDT --- When I installed winetricks (after Wine) and use it to install .NET framework it worked fine for 2.0, 3.0 and 3.5 (not SP1). Then I used the DOTNETFRAMEWORK.RAR file to install 3.5-SP1 everything went until complete successfull install , but just before exit a small windows appeared with a light error with the complete installed window on screen with successful message (both at the same time) It appears that this light error is a bad certificate signature that shows up...can you help??? I did this twice on a ubuntu 10.04 32 bit and ubuntu 10.04 amd 64 bits in the same order and got the same result....pleae respect order of install
Cheers Eric
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #6 from Dan Kegel dank@kegel.com 2011-04-14 19:40:20 CDT --- .net 3.5 sp1 would be a different bug. Also, DOTNETFRAMEWORK.RAR sounds very unofficial.
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #7 from Eric Coolblack4@hotmail.com 2011-04-15 04:28:00 CDT --- So this mean that main reason for .net 3.5 SP1 not working is that it can detect that it is not installing on a windows os?
http://bugs.winehq.org/show_bug.cgi?id=25060
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blackman.duncan@gmail.com
--- Comment #8 from Scott Ritchie scott@open-vote.org 2011-04-22 04:43:28 CDT --- *** Bug 26082 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #9 from Dan Kegel dank@kegel.com 2011-07-08 15:20:43 CDT --- '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.
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.
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #11 from Dan Kegel dank@kegel.com 2011-07-21 15:16:15 CDT --- Created an attachment (id=35642) --> (http://bugs.winehq.org/attachment.cgi?id=35642) Patch on top of winetricks svn to make dotnet35 depend on dotnet30sp1.
I added a dotnet30sp1 verb to winetricks svn. It's not quite clear that it works. Also, ihe attached patch on top of svn makes the dotnet35 verb follow Hans' recipe, but that makes the dotnet35 installer report failure.
http://bugs.winehq.org/show_bug.cgi?id=25060
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, Installer URL| |http://download.microsoft.c | |om/download/6/0/f/60fc5854- | |3cb8-4892-b6db-bd4f42510f28 | |/dotnetfx35.exe CC| |focht@gmx.net Summary|.net 3.5 installer does not |Microsoft .NET Framework |complete |3.5 installer does not | |complete
--- Comment #12 from Anastasius Focht focht@gmx.net 2012-02-19 13:10:34 CST --- Hello,
this is an issue with broken/incomplete Winetricks recipes.
.NET Framework 3.5 installer works with some workarounds.
See appdb for hints/notes.
.NET Framework 3.5 SP1 also works.
$ wine --version wine-1.4-rc4
Regards
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #13 from Anastasius Focht focht@gmx.net 2012-02-24 16:30:29 CST --- Hello,
winetricks trunk now has .NET Framework 3.5 recipe fixed so I cleaned up appdb and removed the workarounds.
http://winetricks.googlecode.com/svn/trunk/src/winetricks
It might be useful to add .NET 3.5 SP1 recipe as some apps explicitly request it.
Forum thread about .NET 3.5 SP1 app "PASS 11": http://forum.winehq.org/viewtopic.php?t=14674
Download: http://www.ncss.com/download_PASS.html
Following is a small winetricks recipe for .NET 3.5 SP1 (Dan or Austin might pick/polish it up).
Basically .NET 2.0 SP2 needs to be installed as prerequisite on top of .NET 3.5 before running .NET 3.5 SP1 installer...
--- snip --- w_metadata dotnet35sp1 dlls \ title="MS .NET 3.5 SP1" \ publisher="Microsoft" \ year="2008" \ media="download" \ file1="dotnetfx35.exe" \ installed_file1="c:/windows/Microsoft.NET/Framework/v3.5/Microsoft .NET Framework 3.5 SP1/logo.bmp"
load_dotnet35sp1() { case "$OS" in "Windows_NT") ;; *) w_warn "dotnet35sp1 does not yet fully work or install on wine. Caveat emptor." ;; esac
w_call dotnet35 $WINESERVER -w w_call dotnet20sp2 $WINESERVER -w
# http://www.microsoft.com/download/en/details.aspx?id=25150 w_download http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a... 3dce66bae0dd71284ac7a971baed07030a186918
cd "$W_CACHE"/dotnet35sp1 $WINE dotnetfx35.exe /lang:ENU $W_UNATTENDED_SLASH_Q } --- snip ---
Using that recipe on clean WINEPREFIX the app successfully installs and runs.
While you're at it, you might also want to fix .NET 3.0 SP1 "silent" mode:
--- snip --- w_try $WINE msiexec /i "XPSEP XP and Server 2003 32 bit.msi" # ${W_OPT_UNATTENDED:+/q} broken? --- snip ---
Simply pass "/qb" to msi installer to allow a fully silent/unattended install of .NET 3.x Frameworks.
$ wine --version wine-1.4-rc5
Regards
http://bugs.winehq.org/show_bug.cgi?id=25060
Light sgsdxzy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30126
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #14 from Austin English austinenglish@gmail.com 2012-03-12 20:40:32 CDT --- That recipe hangs for me in wine-1.4-78-g94953f1:
fixme:advapi:LogonUserW L"LocalService" L"NT AUTHORITY" 0x1ff2b8c 0x00000005 0x00000000 0x3c0e4a4 - stub fixme:sync:CreateMemoryResourceNotification (0) stub fixme:shell:URL_ParseUrl failed to parse L"System.ServiceProcess" fixme:shell:URL_ParseUrl failed to parse L"System" fixme:shell:URL_ParseUrl failed to parse L"PresentationCore" fixme:advapi:RegisterTraceGuidsW (0x540e6616, (nil), {a42c77db-874f-422e-9b44-6d89fe2bd3e5}, 26, 0x33d228, (null), (null), 0x54188798,): stub fixme:shell:URL_ParseUrl failed to parse L"WindowsBase" fixme:shell:URL_ParseUrl failed to parse L"System.Xml" fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #15 from Austin English austinenglish@gmail.com 2012-03-13 15:25:12 CDT --- (In reply to comment #14)
That recipe hangs for me in wine-1.4-78-g94953f1:
fixme:advapi:LogonUserW L"LocalService" L"NT AUTHORITY" 0x1ff2b8c 0x00000005 0x00000000 0x3c0e4a4 - stub fixme:sync:CreateMemoryResourceNotification (0) stub fixme:shell:URL_ParseUrl failed to parse L"System.ServiceProcess" fixme:shell:URL_ParseUrl failed to parse L"System" fixme:shell:URL_ParseUrl failed to parse L"PresentationCore" fixme:advapi:RegisterTraceGuidsW (0x540e6616, (nil), {a42c77db-874f-422e-9b44-6d89fe2bd3e5}, 26, 0x33d228, (null), (null), 0x54188798,): stub fixme:shell:URL_ParseUrl failed to parse L"WindowsBase" fixme:shell:URL_ParseUrl failed to parse L"System.Xml" fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
And the same with wine-1.4-rc5.
http://bugs.winehq.org/show_bug.cgi?id=25060
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #16 from Anastasius Focht focht@gmx.net 2012-03-13 15:50:25 CDT --- Hello Austin,
the .NET 3.5 and .NET 3.5 SP1 recipe works for me.
$ wine --version wine-1.4-205-g104e319
Can you run the recipes manually in sequential order and check which one fails? Make sure wineserver exits gracefully between steps.
0) clean WINEPREFIX (WINEARCH=win32) 1) 'winetricks -q dotnet35' 2) 'winetricks -q dotnet20sp2' 3) wine dotnetfx35.exe /lang:ENU (.NET 3.5 SP1 installer)
If you identified which step failed, run the whole sequence again on clean WINEPREFIX and use WINEDEBUG=+tid,+seh,+loaddll,+process before the failing step (to identify which processes/services are started).
Regards
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #17 from Austin English austinenglish@gmail.com 2012-03-13 16:38:46 CDT --- Created attachment 39342 --> http://bugs.winehq.org/attachment.cgi?id=39342 WINEDEBUG=tid,seh,loaddll,process wine dotnetfx35.exe /lang:ENU /Q >> ~/log.txt 2>&1
I attached the requested log. Notepad was started in the background, to reduce the size. Would you like one without anything running?
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #18 from Anastasius Focht focht@gmx.net 2012-03-13 17:29:03 CDT --- Hello Austin,
the last thing in log before the hang seems to be the installation of first assembly into GAC.
--- snip --- 0032:trace:process:create_process_impl app (null) cmdline L"C:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe install "C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ComSvcConfig.exe" /NoDependencies /queue:2 /nologo" --- snip ---
Maybe mscorsvw.exe is already busy compiling assemblies from previous .NET recipe installation and running into a race. The service does this on its own when the WINEPREFIX is bootstrapped (through notepad or any other process) if not told otherwise through NGEN pause.
I see you ran the installer in silent mode. Can you run the installer in GUI mode (no /Q) without any processes in background, being the first process that bootstraps everything?
---
Another idea: trigger a full rebuild of assembly cache (GAC) manually before the installer. Run following command:
--- snip --- $ WINEDEBUG=+tid,+process wine "c:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe" update --- snip ---
Beware it might take a long time (several minutes) until there is no more activity (last process exited). Errors reports while compiling are expected, ignore/dismiss them.
Backup this WINEPREFIX for further testing.
Now test the installer with GUI and silent mode .. also with notepad already bootstrapped.
Regards
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #19 from Anastasius Focht focht@gmx.net 2012-03-13 18:43:20 CDT --- Hello,
I can reproduce it now without .NET 3.5/3.5 SP1, only with .NET 2.0 SP2 prerequisite present.
There seems to be a problem when the NGEN service is busy compiling assemblies in background when another client requests installation of new assemblies.
Reproduce:
1) install .NET 2.0 SP2 in clean WINEPREFIX using winetricks
2) bootstrap using 'notepad', wait some seconds until "mscorsvw.exe" spawns a second "mscorsvw.exe" process (compile worker) to create native images in background
3) from another terminal run: 'wine "c:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe" foo' (can be any name, doesn't need to be existing assembly).
--- snip --- $ wine "c:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe" foo Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053 Copyright (c) Microsoft Corporation. All rights reserved. Installing assembly foo <hangs> --- snip ---
In terminal with notepad:
--- snip --- err:ole:xCall RpcChannelBuffer SendReceive failed, 800706be err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub fixme:advapi:DeregisterEventSource (0xcafe4242) stub --- snip ---
(RPC Server is unavailable)
Has to be investigated...
Regards
http://bugs.winehq.org/show_bug.cgi?id=25060
Susan Cragin susancragin@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |susancragin@earthlink.net
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #20 from Austin English austinenglish@gmail.com 2012-03-26 12:52:45 CDT --- *** Bug 30279 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #21 from Linards linards.liepins@gmail.com 2012-04-23 13:53:50 CDT --- Created attachment 39896 --> http://bugs.winehq.org/attachment.cgi?id=39896 Stacktrace when installing .net bundled with Mortal Komabt Armaggedon.
Installed Version 3.65.1 SP1. The screen where setup says it is updating files freezes for long time and then makes this tarce.
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #22 from Dan Kegel dank@kegel.com 2012-04-23 14:02:12 CDT --- That's a 64 bit trace. You might try using a 32 bit wineprefix (create it with WINEARCH=win32).
http://bugs.winehq.org/show_bug.cgi?id=25060
sacrediou sacrediou@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sacrediou@yahoo.fr
http://bugs.winehq.org/show_bug.cgi?id=25060
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39896|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=25060
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |kennybobs@o2.co.uk
--- Comment #23 from Ken Sharp kennybobs@o2.co.uk 2012-11-07 11:40:51 CST --- Working around Bug 32156 and running "winetricks -q dotnet35" in wine-1.5.16-232-g4255772 seems to work. Not sure if that means this bug is fixed or it is simply due to the workarounds winetricks uses.
The verification tool confirms a successful install. http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
http://bugs.winehq.org/show_bug.cgi?id=25060
--- Comment #24 from Austin English austinenglish@gmail.com 2012-11-07 15:38:18 CST --- (In reply to comment #23)
Working around Bug 32156 and running "winetricks -q dotnet35" in wine-1.5.16-232-g4255772 seems to work. Not sure if that means this bug is fixed or it is simply due to the workarounds winetricks uses.
The verification tool confirms a successful install. http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
Working here in 1.4.1 and wine-1.5.16-202-g74ec93b (after reverting af08a2f6ba2fb0d65f1a1d3b7720216860fc9456) with winetricks from svn.
http://bugs.winehq.org/show_bug.cgi?id=25060
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Ken Sharp kennybobs@o2.co.uk 2012-11-07 15:46:06 CST --- Sounds good. Got RebelBetting, which requires 3.5 SP1, working.
http://bugs.winehq.org/show_bug.cgi?id=25060
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org 2012-11-09 13:00:44 CST --- Closing bugs fixed in 1.5.17.
https://bugs.winehq.org/show_bug.cgi?id=25060
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/6/0/f/60fc5854- |/20130329011524if_/http://d |3cb8-4892-b6db-bd4f42510f28 |ownload.microsoft.com/downl |/dotnetfx35.exe |oad/6/0/f/60fc5854-3cb8-489 | |2-b6db-bd4f42510f28/dotnetf | |x35.exe