Now Urgent, please help - Detecting Processor Architecture

Got a problem you cannot solve? Try here.
Post Reply
MLaverty
Posts: 2
Joined: Tue Apr 03, 2007 7:04 am

Now Urgent, please help - Detecting Processor Architecture

Post by MLaverty »

Apparently there is meant to be a 'Processor Architecture' flag for the 'Get System Settings' function which returns the exact processor architecture.

This can then be used to set the 'Set 64 bit mode' property properly.

Unfortunately, despite downloading the latest version this morning and scratching my head for quite some time.. the 'Processor Architecture' function is not listed when you are inserting a 'Get system settings' entry into the MSI code.

Please help! very urgent and driving me batty.
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Try querying "Windows in 64 bit Mode" property. That will indicate if you on 64-bit or 32-bit.
Andy Neillans
MLaverty
Posts: 2
Joined: Tue Apr 03, 2007 7:04 am

Post by MLaverty »

Thanks for the reply. :D

I have now found a way round this.

HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Environment\\PROCESSOR_IDENTIFIER

This key contains the relevent information as to the exact processor type.

The "Windows in 64 bit Mode" property just indicates weither Windows is in 64bit mode or not, it doesnt give you the processor archetecture which is needed to use the 'Set 64 bit' function.

Thanks anyway.
Post Reply