http://bugs.winehq.org/show_bug.cgi?id=24213
Summary: WMI: provide "WMIC" stub executable to silence various "file not found" messages (Java SE JRE/JDK installers) Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
when installing Java SE JRE/JDK, the installer calls the WMIC executable (using "cmd"), cluttering console with messages:
--- snip --- wine: cannot find L"C:\windows\system32\WMIC.exe" --- snip ---
This is a tool to access Windows Management Instrumentation (WMI) from the command line, part of WMI core.
See: http://msdn.microsoft.com/en-us/library/aa394531.aspx
Trace log:
--- snip --- 0047:Call KERNEL32.CreateProcessA(00000000,005dead0 "cmd /C WMIC computersystem get model",00000000,00000000,00000001,08000400,00000000,00000000,0074e3f8,0074e43c) ret=6d337ea3 ... 0047:Ret KERNEL32.CreateProcessA() retval=00000001 ret=6d337ea3 ... 0023:Call KERNEL32.CreateProcessW(00000000,0013a9c8 L"WMIC computersystem get model",00000000,00000000,00000001,00000000,00000000,00000000,0033eff0,0033f034) ret=68198ea3 ... wine: cannot find L"C:\windows\system32\WMIC.exe" 0023:Ret KERNEL32.CreateProcessW() retval=00000000 ret=68198ea3 ... 0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC computersystem get manufacturer",00000000,00000000,00000001,08000400,00000000,00000000,0074e3e8,0074e42c) ret=6d337ea3 ... 0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC bios get serialnumber",00000000,00000000,00000001,08000400,00000000,00000000,0074e3e8,0074e42c) ret=6d337ea3 ... 0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC cpu get manufacturer",00000000,00000000,00000001,08000400,00000000,00000000,0074e3f8,0074e43c) ret=6d337ea3 ... --- snip ---
Would be fine if Wine could provide a stub executable to silence this until real work on WMI starts one day ... (like Wine's "lodctr" for .NET stuff) Ideally the WMIC stub should print the command line passed to it using own debug channel ;-)
Regards
http://bugs.winehq.org/show_bug.cgi?id=24213
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://java.sun.com/javase/ | |downloads/widget/jdk6.jsp Severity|normal |enhancement
--- Comment #1 from Anastasius Focht focht@gmx.net 2010-08-30 14:12:18 CDT --- Hello,
filling in some fields.
Regards
http://bugs.winehq.org/show_bug.cgi?id=24213
Paul Bredbury brebs@sent.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brebs@sent.com
http://bugs.winehq.org/show_bug.cgi?id=24213
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-12-05 08:48:09 CST --- Created an attachment (id=32368) --> (http://bugs.winehq.org/attachment.cgi?id=32368) stubbed wmic.exe
Here's patch with a stubbed wmic.exe. Is that enough to silence the messages?
http://bugs.winehq.org/show_bug.cgi?id=24213
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2010-12-07 13:21:07 CST --- Should be fixed by 4b281b2b81a6ad95a1a8a4e444dd9fc0ad7aab29
http://bugs.winehq.org/show_bug.cgi?id=24213
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-12-10 13:46:32 CST --- Closing bugs fixed in 1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=24213
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4b281b2b81a6ad95a1a8a4e444d | |d9fc0ad7aab29
--- Comment #5 from Anastasius Focht focht@gmx.net 2011-10-11 15:04:27 CDT --- Hello,
filling/correcting fields ...
Regards