http://bugs.winehq.org/show_bug.cgi?id=17161
Summary: Provide lodctr.exe tool to prevent misleading process spawn failure console messages (.NET installers) Product: Wine Version: 1.1.13 Platform: Other URL: http://www.microsoft.com/downloads/details.aspx?FamilyID =262d25e3-f589-4842-8157-034d1e7cf3a3 OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
a minor nuisance that can be easily fixed...
I had to add notes to .NET Framework appdb entries because people wrote about messages which looked like install errors to them.
--- snip --- wine: could not load L"C:\windows\system32\lodctr.exe": Module not found --- snip ---
Such failures are in fact harmless, not relevant to overall installer status.
"lodctr.exe" is a simple command line executable for loading performance data into registry. It is often called from .NET Framework v1.x, 2.x, 3.x installers.
MSDN info:
http://technet.microsoft.com/en-us/library/bb490926.aspx
http://msdn.microsoft.com/en-us/library/aa934371.aspx
--- quote --- The loading function of lodctr, LoadPerfCounterTextStrings, is declared in Loadperf.h and exported from Loadperf.dll. You can call this function directly from your install program.
The following example shows the syntax for this function.
LONG LoadPerfCounterTextStrings( LPSTR lpCommandLine, BOOL bQuietModeArg );
The lpCommandLine parameter is the name of your .ini file.
The bQuietModeArg parameter is a Boolean value that specifies whether to display output during the loading of the text strings for the counter. --- quote ---
MSDN note suggests that this command line tool is only a thin wrapper which simply calls LoadPerfCounterTextStrings() as workhorse, passing/forwarding the command line as-is.
It should be easy to add this tool - even with LoadPerfCounterTextStringsA/W being stubs - to silence installers which try to spawn it.
Typical installer logs:
--- snip --- 1: 0 2: C:\windows\system32\lodctr.exe C:\windows\Microsoft.NET\Framework\v2.0.50727_Networkingperfcounters.ini;18;C:\windows\system32\ 3: 4: 5: 6: 7: 8: 9: 10: Action 21:27:31: RunProcess. Installing Performance Counters for ".NET CLR Networking" ... --- snip ---
--- snip --- ... 1: 0 2: C:\windows\system32\lodctr.exe "C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3: 4: 5: 6: 7: 8: 9: 10: 1: C:\windows\system32\lodctr.exe "C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation_TransactionBridgePerfCounters.ini" 2: 1: 0 2: C:\windows\system32\lodctr.exe "C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3: 4: 5: 6: 7: 8: 9: 10: 1: 0 2: C:\windows\system32\lodctr.exe "C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3: 4: 5: 6: 7: 8: 9: 10: ... --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=17161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer
http://bugs.winehq.org/show_bug.cgi?id=17161
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-27 16:37:11 --- A fake placeholder would probably work just as well...
http://bugs.winehq.org/show_bug.cgi?id=17161
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-28 18:13:34 --- Andrey Turkin sent a patch: http://www.winehq.org/pipermail/wine-patches/2009-January/068535.html
http://bugs.winehq.org/show_bug.cgi?id=17161
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-29 10:14:50 --- Patch was committed - 347272b37e81aee143e274089f114411d4c95ad9. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=17161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Anastasius Focht focht@gmx.net 2009-01-29 15:18:59 --- Hello,
yes fixed. Thanks.
--- snip --- ... 002b:trace:process:CreateProcessW app L"C:\windows\system32\lodctr.exe" cmdline L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\_dataperfcounters.ini" ... 002d:trace:loadperf:DllMain (0x0x601c0000, 1, 0x1) 002d:fixme:loadperf:LoadPerfCounterTextStringsW (L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\_dataperfcounters.ini", 0): stub 002d:trace:loadperf:DllMain (0x0x601c0000, 0, 0x1) ... 0034:trace:process:CreateProcessW app L"C:\windows\system32\lodctr.exe" cmdline L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\_Networkingperfcounters.ini" ... 001e:trace:loadperf:DllMain (0x0x686c0000, 1, 0x1) 001e:fixme:loadperf:LoadPerfCounterTextStringsW (L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\_Networkingperfcounters.ini", 0): stub 001e:trace:loadperf:DllMain (0x0x686c0000, 0, 0x1) ... 003f:trace:process:CreateProcessW app L"C:\windows\system32\lodctr.exe" cmdline L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\corperfmonsymbols.ini" ... 002a:trace:loadperf:DllMain (0x0x60190000, 1, 0x1) 002a:fixme:loadperf:LoadPerfCounterTextStringsW (L""C:\windows\system32\lodctr.exe" C:\windows\Microsoft.NET\Framework\v1.1.4322\corperfmonsymbols.ini", 0): stub 002a:trace:loadperf:DllMain (0x0x60190000, 0, 0x1) ... --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=17161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2009-01-30 11:05:17 --- Closing bugs fixed in 1.1.14.
http://bugs.winehq.org/show_bug.cgi?id=17161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |347272b37e81aee143e274089f1 | |14411d4c95ad9 Component|-unknown |programs
--- Comment #6 from Anastasius Focht focht@gmx.net 2011-10-12 03:09:54 CDT --- Hello,
filling/correcting fields ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=17161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux
https://bugs.winehq.org/show_bug.cgi?id=17161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/do |https://web.archive.org/web |wnloads/details.aspx?Family |/20090202091626/http://down |ID=262d25e3-f589-4842-8157- |load.microsoft.com/download |034d1e7cf3a3 |/a/a/c/aac39226-8825-44ce-9 | |0e3-bf8203e74006/dotnetfx.e | |xe