http://bugs.winehq.org/show_bug.cgi?id=32280
Bug #: 32280 Summary: 32 bit Visual C++ 2010 Express full installer complains "Unknown Error" Product: Wine Version: 1.5.18 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
With wine-1.5.18 (and some earlier versions), the 32 bit Visual C++ 2010 Express full install ( http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-A603-1798B95... sha1sum adef5e361a1f64374f520b9a2d03c54ee43721c6 ) puts up an "Unknown error" messagebox during installation of component 4 of 6. Console shows at that point: ... fixme:shell:SetCurrentProcessExplicitAppUserModelID L"VCExpress.10.0": stub fixme:ole:CoInitializeSecurity (0x33f898,-1,(nil),(nil),0,0,(nil),8,(nil)) - stub! err:ole:CoGetClassObject class {0000034b-0000-0000-c000-000000000046} not registered err:ole:CoGetClassObject no class object {0000034b-0000-0000-c000-000000000046} could be created for context 0x1 fixme:thread:SetThreadStackGuarantee (0x33fac4): stub
If you dismiss the messagebox, installation continues, and at the end there is an error summary saying that "SQL Server Compact" could not be installed.
Interestingly, if you then run the installed VCExpress.exe, you get the same dialog, and the same messages in the log.
Looking at the +relay log, I see the following bit not long before the messagebox:
0009:Call KERNEL32.LoadLibraryW(0040dd00 L"mscoree.dll") ret=0041b5d4 0009:Ret KERNEL32.LoadLibraryW() retval=7e3f0000 ret=0041b5d4 0009:Call KERNEL32.GetProcAddress(7e3f0000,0040dd18 "CreateInterface") ret=0041b5e4 0009:Ret KERNEL32.GetProcAddress() retval=00000000 ret=0041b5e4 0009:Call KERNEL32.GetLastError() ret=0041b609 0009:Ret KERNEL32.GetLastError() retval=0000007f ret=0041b609
I'll attach the log showing VCExpress.exe putting up that MessageBox.
http://bugs.winehq.org/show_bug.cgi?id=32280
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://download.microsoft.c | |om/download/1/E/5/1E5F1C0A- | |0D5B-426A-A603-1798B951DDAE | |/VS2010Express1.iso
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #1 from Dan Kegel dank@kegel.com 2012-11-24 15:32:40 CST --- Created attachment 42605 --> http://bugs.winehq.org/attachment.cgi?id=42605 +relay log of VCExpress.exe putting up same "Unknown Error" message
http://bugs.winehq.org/show_bug.cgi?id=32280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #2 from Dan Kegel dank@kegel.com 2013-09-29 15:00:48 CDT --- Still happening in wine-1.7.3, except that sometime between 1.7.1-158-g88c2a18 and 1.7.3, the "SQL Server Compact" install error disappeared.
A workaround is 'winetricks dotnet40 winxp'.
(And before 1.7.3, doing that before installing also fixed the install failure.)
(Without winxp, the app won't find Application Data in c:\users$LOGNAME; a symlink to Local Setings/Application Data works around that, if you ever run into it.)
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #3 from Dan Kegel dank@kegel.com 2013-09-29 15:29:46 CDT --- Minor correction: all the above assumes you uncheck all optional components in the vc2010express installer. If you leave everything checked, it currently reports that "Microsoft SQL Server 2008 Express Service Pack 1 (x86)" could not be installed.
http://bugs.winehq.org/show_bug.cgi?id=32280
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2013-09-29 16:37:29 CDT --- Hello Dan,
MS .NET Framework 4.0 is a required installer prerequisite for Visual Studio 2010. Does the installer skip installation of .NET Framework 4.0 due to presence of Mono? If yes this isn't going to work anyway.
Technically Visual Studio allows the integration of different target .NET Frameworks for application development/projects (also Mono). But to run Visual Studio itself and required tools properly you won't get far with Mono hence it has to be removed from WINEPREFIX prior running the installer.
My Wine builds have Mono always disabled/removed by default (--disable-mscoree) hence the installer works out of the box with Wine 1.7.3 in a clean WINEPREFIX.
The other issue is bug 12501 -> use 'winetricks mspatcha' work around. There is another issue related to Wine's msvcm80 later.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #5 from Dan Kegel dank@kegel.com 2013-09-29 22:55:11 CDT --- I didn't notice, but yeah, I suppose the installer skips .net installation. (It does install some .net addon, though.)
I filed bug 34627 for the msvcm80 problem, and updated winetricks' vc2010express verb to include the two workarounds you mentioned, thanks!
http://bugs.winehq.org/show_bug.cgi?id=32280
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree Summary|32 bit Visual C++ 2010 |32-bit Visual C++ 2010 |Express full installer |Express full installer |complains "Unknown Error" |complains "Unknown Error" | |with Mono (mscoree CLR v4 | |shim needs CreateInterface)
--- Comment #6 from Anastasius Focht focht@gmx.net 2013-09-30 03:12:07 CDT --- Hello Dan,
well then let's make this bug about Mono insufficiency. CLR v4 shim CreateInterface is used for getting ICLRMetaHost interface.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-09-30 04:30:18 CDT --- (In reply to comment #6)
well then let's make this bug about Mono insufficiency. CLR v4 shim CreateInterface is used for getting ICLRMetaHost interface.
Can you expand on what it missing?
Currently CLRCreateInstance supports getting the CLRMetaHost interface.
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-09-30 06:31:31 CDT --- (In reply to comment #7)
Currently CLRCreateInstance supports getting the CLRMetaHost interface.
See the problem now.
http://bugs.winehq.org/show_bug.cgi?id=32280
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #9 from Austin English austinenglish@gmail.com 2013-10-03 15:37:26 CDT --- https://source.winehq.org/git/wine.git/commitdiff/7028e2bbbc9a3155b71fab47d6... looks relevant, but I still get the dialog in wine-1.7.3-119-g4732b2f
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #10 from Anastasius Focht focht@gmx.net 2013-10-03 16:41:24 CDT --- Hello Austin,
you need to provide more information, e.g. +tid,+seh,+relay trace log to get useful answers.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-10-03 17:13:37 CDT --- Hi Austin,
(In reply to comment #9)
https://source.winehq.org/git/wine.git/commitdiff/7028e2bbbc9a3155b71fab47d6... looks relevant, but I still get the dialog in wine-1.7.3-119-g4732b2f
It helps, however the interface ICLRMetaHostPolicy needs to be supported.
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #12 from Austin English austinenglish@gmail.com 2013-10-17 14:32:33 CDT --- (In reply to comment #11)
Hi Austin,
(In reply to comment #9)
https://source.winehq.org/git/wine.git/commitdiff/7028e2bbbc9a3155b71fab47d6... looks relevant, but I still get the dialog in wine-1.7.3-119-g4732b2f
It helps, however the interface ICLRMetaHostPolicy needs to be supported.
http://source.winehq.org/git/wine.git/commitdiff/3988ee946509478f39f8aa0af12...
It no longer pops up an 'Unknown Error', but instead, there's an (handled) exception. Just before that is: fixme:mscoree:metahostpolicy_GetRequestedRuntime 64 (nil) (nil) (nil) (nil) 0x3702d038 0x3702d034 0x33ed0c {bd39d1d2-ba2f-486a-89b0-b4b0cb466891} 0x3702d030 fixme:mscoree:metahostpolicy_GetRequestedRuntime 72 (nil) (nil) 0x33ef40 0x33ed20 0x3702d038 0x3702d034 0x33ed0c {bd39d1d2-ba2f-486a-89b0-b4b0cb466891} 0x3702d030 fixme:mscoree:get_runtime_info unsupported runtimeinfo flags 40 fixme:mscoree:CLRRuntimeInfo_GetDefaultStartupFlags 0x7e54be18 0x33f1c8 (nil) (nil) fixme:mscoree:corruntimehost_Start stub 0x18bc28
I'll attach the output (though it may be worth a new bug).
http://bugs.winehq.org/show_bug.cgi?id=32280
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-10-17 17:34:43 CDT ---
I'll attach the output (though it may be worth a new bug).
Yes a new bug, since CreateInterface issue has been corrected.
http://bugs.winehq.org/show_bug.cgi?id=32280
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3988ee946509478f39f8aa0af12 | |3f3709133a5ff Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from Austin English austinenglish@gmail.com 2013-10-17 17:51:58 CDT --- (In reply to comment #13)
I'll attach the output (though it may be worth a new bug).
Yes a new bug, since CreateInterface issue has been corrected.
Fine by me.
http://bugs.winehq.org/show_bug.cgi?id=32280
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2013-10-25 12:54:53 CDT --- Closing bugs fixed in 1.7.5.
https://bugs.winehq.org/show_bug.cgi?id=32280
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/1/E/5/1E5F1C0A- |/20111016110147/http://down |0D5B-426A-A603-1798B951DDAE |load.microsoft.com/download |/VS2010Express1.iso |/1/E/5/1E5F1C0A-0D5B-426A-A | |603-1798B951DDAE/VS2010Expr | |ess1.iso