[Bug 24213] New: WMI: provide "WMIC" stub executable to silence various "file not found" messages (Java SE JRE/JDK installers)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 30 14:11:32 CDT 2010


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 at winehq.org
        ReportedBy: focht at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list