![]() |
Possible to detect Hyper Threading?
EDIT: Actually I know how to find it I just don't know how to have the installer discover it.
The hyper-threaded kernel file is originally named ntkrnlmp.exe but when it's copied to a HT machine it's renamed to ntoskrnl.exe. However in the Version tab in the Original Filename field it still says "ntkrnlmp.exe" How can I get the installer to read that value into a variable? |
Okay it turns out I found the solution using the sysinfo.dll plugin.
I searched the NSIS Archive for sysinfo and it didn't find anything, but in the actual Downloads section it was listed alphabetically. The original demo code was designed to use macros to pass parameters and it required physically extracting the dll to a temp directory. I moddified the code however to work without macros for my instance, and to use the plugin call. Here is the code if anyone is interested: code: |
Quote:
Cheers! Luke |
http://or1cedar.intel.com/media/trai...t_v1/tutorial/ contains a code example for detecting hyper-threading. It shouldn't be hard to put that into a plug-in.
|
| All times are GMT. The time now is 17:25. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.