SYSPROCESSORINFO

InstallShield 2016 » InstallScript Language Reference

During setup initialization, the installation sets the members of this structure variable to identify information about the processor of the target computer. By inspecting the values assigned to members of this variable, your script can determine information such as the number of processors on the system and the type of processor.

The following table shows the meaning of each SYSPROCESSORINFO member:

Note • Each of these members corresponds to a member in the Windows SYSINFO structure. These are populated during initialization by calling the Windows API GetSystemInfo or GetNativeSystemInfo functions on 64-bit Windows systems. Consult the documentation on this structure in the MSDN Library. Also, as documented by Microsoft, using nProcessorType is not recommended. Use nProcessorLevel and nProcessorArchitecture instead.

SYSPROCESSORINFO

Member

Meaning

SYSPROCESSORINFO.nProcessorArchitecture

Indicates the processor architecture. Possible values are the following:

PROCESSOR_ARCHITECTURE_INTEL

PROCESSOR_ARCHITECTURE_IA64

PROCESSOR_ARCHITECTURE_AMD64

PROCESSOR_ARCHITECTURE_UNKNOWN

Note • InstallScript includes constants for the most common values for this structure member. However, in unusual cases, this structure member could contain other values defined by Windows. Consult the Windows documentation on the corresponding SYSINFO member for more information on possible additional values.

SYSPROCESSORINFO.nNumberOfProcessors

Indicates the number of processors on the system.

SYSPROCESSORINFO.nProcessorType

Indicates the processor type. Possible values are the following:

PROCESSOR_INTEL_386

PROCESSOR_INTEL_486

PROCESSOR_INTEL_PENTIUM

PROCESSOR_INTEL_IA64

PROCESSOR_AMD_X8664

Note • InstallScript includes constants for the most common values for this structure member. However, in unusual cases, this structure member could contain other values defined by Windows. Consult the Windows documentation on the corresponding SYSINFO member for more information on possible additional values.

SYSPROCESSORINFO.nProcessorLevel

Indicates the system's architecture-dependent processor level. This is often defined by the vendor and should be used for display purposes. See the Windows documentation on the SYSINFO structure for further information on the meaning of these members.

SYSPROCESSORINFO.nProcessorRevision

Indicates the system's architecture-dependent processor revision. See the Windows documentation on the SYSINFO structure for further information on the meaning of these members.