Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

CPU speed


1 reply to this topic

akpoluru

akpoluru
  • Members
  • 11 posts

Posted 15 July 2002 - 16:48

How do I determine the CPU speed in Install Shield.
Thanks!!

BobT

BobT
  • Members
  • 24 posts

Posted 16 July 2002 - 13:11

The following is from IS knowledge base article Q105628.

There are no built-in InstallScript functions to detect the specific processor speed, although the GetSystemInfo function can detect certain characteristics of the target machine. It is possible to detect the specific processor speed on Windows NT, Windows 2000, and Windows XP machines by searching the registry. More specifically, by checking the value of the following registry key:
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz

This key will contain the exact speed of the processor, but only for these specific Operating Systems. There is currently no registry key or InstallScript function that allows the processor speed to be retrieved for Windows 95, Windows 98, or Windows Me Operating Systems.

HTH
BobT