http://bugs.winehq.org/show_bug.cgi?id=30089
Bug #: 30089 Summary: Microsoft SQL Server 2005 Express Edition installer fails due to WMI configuration Product: Wine Version: 1.4-rc6 Platform: x86 URL: http://go.microsoft.com/fwlink/?linkid=65212 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: djelinski1@gmail.com Classification: Unclassified
Created attachment 39207 --> http://bugs.winehq.org/attachment.cgi?id=39207 output of "wine SQLEXPR32.EXE"
ms sql express 2005 fails to install displaying message: "The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147746132(0x80040154)."
Used command line: wine SQLEXPR32.EXE &>2005.log Output attached.
Native mspatcha.dll is required to work around bug 12501. Native msvcp80 is required to work around bug 30088.
http://bugs.winehq.org/show_bug.cgi?id=30089
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW CC| |focht@gmx.net Depends on| |20651, 24875, 28682 Summary|Microsoft SQL Server 2005 |Microsoft SQL Server 2005 |Express Edition installer |Express Edition: SQL Server |fails due to WMI |System Configuration |configuration |Checker fails (needs | |Win32_ComputerSystem WMI | |class) Ever Confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-03-05 15:59:50 CST --- Hello,
confirming.
Prerequisite: 'winetricks -q vcrun2005 mspatcha'
You need winetricks from trunk (http://winetricks.googlecode.com/svn/trunk/src/winetricks) as 'mspatcha' recipe was added recently with r782.
It doesn't hurt to have .NET Framework 2.0 prerequisite installed because the installer tries to compile .NET assemblies to GAC by calling ngen ("fake" ngen for Mono won't do any good):
--- snip --- fixme:ngen:wmain stub: L"ngen.exe" L"install" L"Microsoft.NetEnterpriseServers.ExceptionMessageBox, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" L"/verbose" L"/queue:1" L"/NoDependencies" fixme:ngen:wmain stub: L"ngen.exe" L"install" L"Microsoft.SqlServer.WizardFrameworkLite, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" L"/verbose" L"/queue:1" L"/NoDependencies" fixme:ngen:wmain stub: L"ngen.exe" L"install" L"Microsoft.SqlServer.GridControl, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" L"/verbose" L"/queue:1" L"/NoDependencies" fixme:ngen:wmain stub: L"ngen.exe" L"install" L"Microsoft.SqlServer.Setup, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" L"/verbose" L"/queue:1" L"/NoDependencies" fixme:ngen:wmain stub: L"ngen.exe" L"install" L"Microsoft.SqlServer.CustomControls, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" L"/verbose" L"/queue:1" L"/NoDependencies" --- snip ---
'winetricks -q dotnet20'
Trace log:
--- snip --- 002a:Call KERNEL32.CreateProcessW(00393ea8 L"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe",0038e778 L"setup.exe LOGSEQNO=1 LOGPATH="C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\" INSTALLMEDIAPATH="C:\38e840e50516d6ba64" /multiinstance /resumesetup",00000000,00000000,00000001,00000020,00000000,00000000,008ed31c,008ed364) ret=010a3bd1 ... 0039:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00ed771d --- snip ---
App logs:
--- snip --- Running: LaunchLocalBootstrapAction at: 2012/2/5 22:34:25 Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run: "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 70036 ... Machine = nexus4, Article = WMIServiceWin32OSWorking, Result = 2147746132 (0x80040154) Machine = nexus4, Article = WMIServiceWin32CompSystemWorking, Result = 2147746132 (0x80040154) Machine = nexus4, Article = WMIServiceWin32ProcessorWorking, Result = 2147746132 (0x80040154) Machine = nexus4, Article = WMIServiceReadRegWorking, Result = 2147746132 (0x80040154) Machine = nexus4, Article = WMIServiceWin32DirectoryWorking, Result = 2147746132 (0x80040154) Machine = nexus4, Article = WMIServiceCIMDataWorking, Result = 2147746132 (0x80040154) --- snip ---
First it depends on infrastructure covered by bug 20651 ("WBEM / WMI not implemented, affects many .NET apps").
Additionally:
Win32_OperatingSystem WMI class (covered by bug 24875):
--- snip --- Calling add article callback function for article: WMIServiceWin32OSWorking Callback function returned TRUE Adding Article... Article Id: WMIServiceWin32OSWorking Article type: 4, ARTICLE_WMI_TYPE_VALUES Number of value: 2 Value: 1 Type: ARTICLE_WMI_TYPE_PROPERTY Namespace: cimv2 Class name: Win32_OperatingSystem Property name: OSLanguage Property type: 2 Value: 2 Type: ARTICLE_WMI_TYPE_PROPERTY Namespace: cimv2 Class name: Win32_OperatingSystem Property name: SystemDirectory Property type: 2 --- snip ---
Win32_ComputerSystem WMI class, not covered by any bug yet (therefore selecting)
--- snip --- Calling add article callback function for article: WMIServiceWin32CompSystemWorking Callback function returned TRUE Adding Article... Article Id: WMIServiceWin32CompSystemWorking Article type: 4, ARTICLE_WMI_TYPE_VALUES Number of value: 1 Value: 1 Type: ARTICLE_WMI_TYPE_PROPERTY Namespace: cimv2 Class name: Win32_ComputerSystem Property name: NumberOfProcessors Property type: 2 --- snip ---
Win32_Processor WMI class (covered by bug 28682):
--- snip --- Calling add article callback function for article: WMIServiceWin32ProcessorWorking Callback function returned TRUE Adding Article... Article Id: WMIServiceWin32ProcessorWorking Article type: 4, ARTICLE_WMI_TYPE_VALUES Number of value: 1 Value: 1 Type: ARTICLE_WMI_TYPE_PROPERTY Namespace: cimv2 Class name: Win32_Processor Property name: CpuStatus Property type: 2 --- snip ---
--- snip --- Calling add article callback function for article: WMIServiceWin32DirectoryWorking Callback function returned TRUE Adding Article... Article Id: WMIServiceWin32DirectoryWorking Article type: 3, ARTICLE_WMI_TYPE_CLASS Namespace: cimv2 WQL Query: Select * from Win32_Directory where name='C:\' --- snip ---
--- snip --- Calling add article callback function for article: WMIServiceCIMDataWorking Callback function returned TRUE Adding Article... Article Id: WMIServiceCIMDataWorking Article type: 3, ARTICLE_WMI_TYPE_CLASS Namespace: cimv2 WQL Query: Select * from CIM_DataFile where name='C:\' --- snip ---
$ sha1sum SQLEXPR32.EXE edeb3fe40fd6f03087a55b3f4e08bac795f68436 SQLEXPR32.EXE
Regards
http://bugs.winehq.org/show_bug.cgi?id=30089
Don Pobanz dpobanz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dpobanz@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2012-06-23 06:16:52 CDT --- There's a partial Win32_ComputerSystem implementation in Wine now, please try again.
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #3 from Daniel Jelinski djelinski1@gmail.com 2012-06-23 11:08:08 CDT --- trace:wbemprox:wbem_locator_ConnectServer 0x179638, L"\\daniel\root", (null), (null), (null), 0x00000000, (null), (nil), 0x8db384) fixme:wbemprox:wbem_locator_ConnectServer remote computer not supported
Not there yet.
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #4 from Daniel Jelinski djelinski1@gmail.com 2012-06-23 11:22:10 CDT --- For testing's sake I removed the check if the machine is a remote one and got this log: trace:wbemprox:wbem_locator_ConnectServer 0x1851c8, L"\\daniel\root", (null), (null), (null), 0x00000000, (null), (nil), 0x8db384) trace:wbemprox:WbemServices_create ((nil),0x8db384) trace:wbemprox:WbemServices_create returning iface 0x183288 trace:wbemprox:wbem_services_QueryInterface 0x183288 {00000000-0000-0000-c000-000000000046} 0x8db2cc trace:wbemprox:wbem_services_QueryInterface 0x183288 {0000013d-0000-0000-c000-000000000046} 0x8db2d0 fixme:wbemprox:client_security_SetBlanket 0x7d59a7d8, 0x183288, 10, 0, (null), 5, 3, (nil), 0x00000000 fixme:wbemprox:client_security_Release 0x7d59a7d8 fixme:wbemprox:wbem_services_OpenNamespace fixme:wbemprox:wbem_services_OpenNamespace fixme:wbemprox:wbem_services_OpenNamespace fixme:wbemprox:wbem_services_OpenNamespace trace:wbemprox:wbem_services_Release destroying 0x183288 trace:wbemprox:wbem_locator_Release destroying 0x1851c8
And then the installer fails as usual.
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #5 from Daniel Jelinski djelinski1@gmail.com 2012-06-23 11:30:42 CDT --- Added trace of first 4 arguments of OpenNamespace. Result: trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"default", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil)
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2012-06-26 09:38:16 CDT --- (In reply to comment #5)
Added trace of first 4 arguments of OpenNamespace. Result: trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"default", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil) trace:wbemprox:wbem_services_OpenNamespace 0x183610, L"cimv2", 0x00000000, (nil)
I've sent a patch to implement this method. With that it fails on another unimplemented call but I believe the original bug is fixed.
http://bugs.winehq.org/show_bug.cgi?id=30089
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Fixed by SHA1| |3ebf6c8bfa08618971eed89a034 | |a25c2fd4edc3d Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Anastasius Focht focht@gmx.net 2012-06-26 15:06:10 CDT --- Hello,
Hans is right, the Win32_ComputerSystem class and specifically the property "NumberOfProcessors" is successfully queried now.
Fixed by commit http://source.winehq.org/git/wine.git/commitdiff/3ebf6c8bfa08618971eed89a034...
From application's own WMI log:
--- snip --- ... Performing check on local machine nexus4 Connecting to nexus4 machine ConnectServer returned 0 (0x0) ConnectServer returned 0 (0x0) Openning namespace \root\cimv2 GetNamespace \root\cimv2 returned 0 (0x0) Creating class instance Win32_ComputerSystem CreateInstanceEnum Win32_ComputerSystem returned 0 (0x0) Enumerating the first class of Win32_ComputerSystem EnumClass of Win32_ComputerSystem returned 1 (0x1) Getting property NumberOfProcessors Get property NumberOfProcessors returned 0 (0x0) Variant value: 4 Creating class instance Win32_OperatingSystem CreateInstanceEnum Win32_OperatingSystem returned 0 (0x0) Enumerating the first class of Win32_OperatingSystem EnumClass of Win32_OperatingSystem returned 1 (0x1) Getting property OSLanguage Get property OSLanguage returned 0 (0x0) Variant value: 1033 Getting property SystemDirectory Get property SystemDirectory returned 0 (0x0) Variant value: C:\windows\system32 Creating class instance Win32_OperatingSystem CreateInstanceEnum Win32_OperatingSystem returned 0 (0x0) Enumerating the first class of Win32_OperatingSystem EnumClass of Win32_OperatingSystem returned 1 (0x1) Getting property SystemDirectory Get property SystemDirectory returned 0 (0x0) Variant value: C:\windows\system32 Creating class instance Win32_Processor CreateInstanceEnum Win32_Processor returned 0 (0x0) Enumerating the first class of Win32_Processor EnumClass of Win32_Processor returned 1 (0x1) Getting property CpuStatus <boom> --- snip ---
An exception is triggered which might be related to missing "CpuStatus" property of Win32_Processor WMI class. I suggest to file a new bug targeting that issue.
Regards
http://bugs.winehq.org/show_bug.cgi?id=30089
Bug 30089 depends on bug 20651, which changed state.
Bug 20651 Summary: Many .NET based applications need WMI core infrastructure (Wine doesn't provide a WMI implementation) http://bugs.winehq.org/show_bug.cgi?id=20651
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=30089
--- Comment #8 from Anastasius Focht focht@gmx.net 2012-06-27 04:37:48 CDT --- Hello,
filed bug 31037 as continuation.
Regards
http://bugs.winehq.org/show_bug.cgi?id=30089
Bug 30089 depends on bug 28682, which changed state.
Bug 28682 Summary: Ragnarok download shows a .NET exception on start (needs Win32_Processor WMI class) http://bugs.winehq.org/show_bug.cgi?id=28682
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=30089
Bug 30089 depends on bug 24875, which changed state.
Bug 24875 Summary: SongSmith 1.0.2 doesn't install (managed assembly installation fails, needs Win32_OperatingSystem WMI class) http://bugs.winehq.org/show_bug.cgi?id=24875
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=30089
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-07-03 14:15:38 CDT --- Closing bugs fixed in 1.5.8.
https://bugs.winehq.org/show_bug.cgi?id=30089
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://go.microsoft.com/fwl |https://web.archive.org/web |ink/?linkid=65212 |/20130318195510/http://down | |load.microsoft.com/download | |/6/C/7/6C7458CA-8B07-411E-9 | |E3B-0DED20512696/SQLEXPR32. | |EXE