What is wrong with my 32/64 bit OS Conditions??? - 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!

bullyellis
Posts: 22
Joined: Wed Mar 02, 2011 4:25 pm

What is wrong with my 32/64 bit OS Conditions???

Here are my conditions:

(NOT Installed) AND INSTALL_INFORMIX_DRIVER AND VersionNT64 - execution for 64 bit driver
(NOT Installed) AND INSTALL_INFORMIX_DRIVER AND VersionNT - execution condition for 32 bit driver


When installing under windows XP 32 bit, it seems to work fine, but when installing under Win 7 64 bit - It kicks off both of the driver install files. Weirdly enough, it seems to be running the 64 bit driver in 32 bit compatibility mode.

Please advise.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: What is wrong with my 32/64 bit OS Conditions???

Hi,

This happens because on x64 machine Windows Installer sets both properties, i.e. VersionNT and VersionNT64. To condition which you can try for x86 machines
could look like this:

Code: Select all

(NOT Installed) AND INSTALL_INFORMIX_DRIVER AND (NOT VersionNT64)
This should make the 32 bit condition not to be valid and on 64 bit machines.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bullyellis
Posts: 22
Joined: Wed Mar 02, 2011 4:25 pm

Re: What is wrong with my 32/64 bit OS Conditions???

Bogdan wrote:Hi,

This happens because on x64 machine Windows Installer sets both properties, i.e. VersionNT and VersionNT64. To condition which you can try for x86 machines
could look like this:

Code: Select all

(NOT Installed) AND INSTALL_INFORMIX_DRIVER AND (NOT VersionNT64)
This should make the 32 bit condition not to be valid and on 64 bit machines.

Regards,
Bogdan
Thanks, that did it.

Return to “Common Problems”