PROCESSOR_ARCHITECTURE Value - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

PROCESSOR_ARCHITECTURE Value

Hi,

Im looking to open a folder and a text file at the end of an install if it is a 64 bit operating system.

I have a DoAction on the "Finish" button with the condition %PROCESSOR_ARCHITECTURE = "x64". It seems to valid but doesnt do anything.

What is the value returned by %PROCESSOR_ARCHITECTURE ?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: PROCESSOR_ARCHITECTURE Value

Hi,

You can try using the VersionNT64 property. If this property is set then the installer is running on a 64-bit machine. The DoAction event condition can be set to:

Code: Select all

VersionNT64
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Re: PROCESSOR_ARCHITECTURE Value

Thanks Cosmin,

What does it return?

Would VersionNT64 = 1 work?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: PROCESSOR_ARCHITECTURE Value

Hi,

This property has the same values as VersionNT from this table.
Would VersionNT64 = 1 work?
No, but you can use the condition I mentioned in my previous post (just the property name without any comparison operators). It's false when the property is empty and true when the property contains a value.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”