cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
QC_Eng
Level 3

Can Installshield detect the processor type ?

Can Installshield detect the processor type of the pc where my product will be installed .. whether it is Intel or AMD & whether it is 32 bit or 64 bit ?
Labels (1)
0 Kudos
(3) Replies
Flitskikker
Level 4

Try this:

Add before "begin":
BOOL    bCPU, b64;


Add in your code:
bCPU = SYSINFO.bIntel;
b64 = SYSINFO.bIsWow64;

if (bCPU) then
MessageBox("You have Intel CPU.",INFORMATION);
else
MessageBox("You don't have Intel CPU.",INFORMATION);
endif;

if (b64) then
MessageBox("You have 64 bit system.",INFORMATION);
else
MessageBox("You have 32 bit system.",INFORMATION);
endif;


Hope it helps! 🙂

Kind regards,
Flitskikker
0 Kudos
RobertDickau
Flexera Alumni

And for MSI, there are the properties Intel, Intel64, and Msix64...
0 Kudos
QC_Eng
Level 3

Flitskikker wrote:
Try this:

Add before "begin":
BOOL    bCPU, b64;


Add in your code:
bCPU = SYSINFO.bIntel;
b64 = SYSINFO.bIsWow64;

if (bCPU) then
MessageBox("You have Intel CPU.",INFORMATION);
else
MessageBox("You don't have Intel CPU.",INFORMATION);
endif;

if (b64) then
MessageBox("You have 64 bit system.",INFORMATION);
else
MessageBox("You have 32 bit system.",INFORMATION);
endif;


Hope it helps! 🙂

Kind regards,
Flitskikker


Sorry I didn't get where to write this code , would you plz tell me & if I can change it from properties for MSI Projects , how can I do this !?
0 Kudos