Detect 64-bit OS

Got a problem you cannot solve? Try here.
Post Reply
kurtth
Posts: 8
Joined: Tue Apr 17, 2007 5:35 pm

Detect 64-bit OS

Post by kurtth »

In IA 7.0 I found a requirement selection for a 64-bit OS but not a test feature.
The 'Get OS' method doesn't indicate if the OS (e.g. Vista) is 32-bit or 64-bit.
The 'Get System Settings' method returns the processor architecture but not the OS type.

I need to build a single setup for 32 and 64 bit systems that installs a few files differently on 64-bit systems.

Thanks,
Kurt
pfennig

Post by pfennig »

Get System Setting offers "Windows Vista" as well as "Windows in 64 bit Mode". They're near the end of the list.
MLS
Posts: 56
Joined: Fri Jan 26, 2007 4:57 am

Post by MLS »

I think the tick box effects how paths are detected as well. So you may want to have 2 installers but auto run the 64bit version when you detect 64bit mode in the 32 bit installer
Post Reply