http://bugs.winehq.org/show_bug.cgi?id=34627
Bug #: 34627 Summary: 32 bit Visual C++ 2010 Express full installer complains "Runtime Error!" while installing SQL Product: Wine Version: 1.7.3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msvcm AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
After working around bug 32280 with 'winetricks dotnet40' and bug 12501 with 'winetricks mspatcha', Visual C++ 2010 Express installer fails with a "Runtime Error!" dialog referencing setup100.exe.
AF mentioned in bug 32280 there was a msvcm80 bug, perhaps this is it; sure enough, "winetricks vcrun2005" works around it.
While the dialog is up, ps shows
dank 23938 0.8 1.1 2679360 68040 ? Sl 20:26 0:03 Y:\43a4078dda964c2953a1c4f7\x86\setup100.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT=NT AUTHORITY\Network Service /SQLSVCStartupType=Automatic /AddCurrentUserAsSqlAdmin /ENABLERANU=1 /SKIPRULES=RebootRequiredCheck /hideconsole /TIMESTAMP=VSExpress_10.0 /ACTION=RUNRULES /RULES=GlobalRules /WORKFLOW=Install /TIMESTAMP=VSExpress_10.0 /LOGMARKER=_GlobalRules /MEDIASOURCE=Y:\43a4078dda964c2953a1c4f7\ /INSTALLMEDIAPATH=Y:\43a4078dda964c2953a1c4f7\x86\setup\ /MEDIALAYOUT=Core
and this error does not happen if you uncheck optional fields in the vc2010 express installer.