How to make prerequisites check in the x86 registry location in 64bit computer? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

How to make prerequisites check in the x86 registry location in 64bit computer?

Hello,

I have set the installer to install "AccessDatabaseEngine_X64.exe" as prerequisite. It installs fine. But it is not detecting as installed. This is because it creates the registry entry "HKLM\SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path", the x86 regitry location. But since the computer is 64bit, the installer checks it at "HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path". So it always fails.

How to set the installer to check the x86 registry location please?

:?:
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to make prerequisites check in the x86 registry location in 64bit computer?

Hello,

Please note that the Wow6432Node registry entry indicates that you are running on 64-bit Windows version. When reading or writing from the HKLM\SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path, the Windows Installer redirect to the HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path.

In order to avoid this, you can enable the Use 64-bit locations when evaluating conditions on a 64-bit machine option from the Prerequisite Install Conditions Tab article.

Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: How to make prerequisites check in the x86 registry location in 64bit computer?

Hello,

In some computers it installs the "AccessDatabaseEngine_X64.exe" registry entry to "HKLM\SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path" and in some other computers is goes to "HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot\Path". When we enable "Use 64-bit locations when evaluating conditions on a 64-bit machine" it only checks 64bit location. In this case how to check for it please?

:?:
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to make prerequisites check in the x86 registry location in 64bit computer?

Hi,

In order to achieve that, you can add another install condition that contains the "Wow6432Node" key in its path, so the installer will also check that registry path during the install conditions evaluation (see the attached image).

Best regards,
Eusebiu
Attachments
install conditions.png
install conditions.png (41.65 KiB) Viewed 5278 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to make prerequisites check in the x86 registry location in 64bit computer?

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”