http://bugs.winehq.org/show_bug.cgi?id=5322
------- Additional Comments From dank@kegel.com 2006-24-06 08:55 ------- Performance stuff seems to be a big hairy mess, so maybe we should just find out exactly what counters the installer is accessing and fake them. (It might be checking for RAM, or it might be checking for whether something fancy is installed.)
For future reference, here are some random links that might or might not be helpful. They're probably massive overkill. http://msdn.microsoft.com/library/en-us/perfmon/base/how_the_dll_interfaces_... has some info about HKEY_PERFORMANCE_DATA http://support.microsoft.com/kb/Q179456 has some info about "extensible counters" (apparantly that's what the Perflib\009 is). http://www.tencorp.com/salestip.nsf/d5510884f791efbd8525681e0000d544/ab3fdff... mentions that the 009 is a language code (!); German is 007.
Three pages describe how to rebuild the performance counters on corruption: http://support.microsoft.com/default.aspx?scid=kb;EN-US;267831 http://www.jsifaq.com/SUBI/tip4000/rh4095.htm http://chi.dynodns.net:8080/downloads/Performace%20counters%20Tool/Performac...
http://www.jkrb.de/jmk/docs/Perl5/PerfLib/PerfLib.html is a perl module to access some of this stuff. http://python.cofman.dk/windows/win32/win32pdhquery_tutorial.html is a python program to access some of this stuff (via pdh.dll). http://msdn.microsoft.com/archive/en-us/dnarperfmo/html/msdn_pdhlib.asp describes how to use pdh.dll and has a sample program. http://www.codeproject.com/system/ntenumthreads.asp is another sample program. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303339 ditto.