Prerequisites and Vista 64 Bit - 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!

tommobb
Posts: 5
Joined: Wed Dec 01, 2010 6:08 pm

Prerequisites and Vista 64 Bit

We have a pre-requitsite that checks a registry key exists for a Visual C++ redistributable. When running on Vista 64 bit we get the 4154. On other OS'es it works correctly (XP, 7 and Vista 32 bit)

We have written some C++ code which detects the key properly

Code: Select all

DWORD res=RegOpenKeyExA(HKEY_CLASSES_ROOT,("Installer\\Products\\6E58EC68CABDDFF39B774E7BF9389C90"),0,KEY_QUERY_VALUE|KEY_WOW64_64KEY,&hKey);
Is it possible the installer is not detecting this key?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Prerequisites and Vista 64 Bit

Hi,

This could happen because of OS redirection system for 32 bit applications on 64 bit machines. A solution is to create a new prerequisite marked as 64-bit
from Properties tab. Also, from Install Conditions tab you should set both prerequisites to be detected only for 32 and 64 bit systems, from the Launch Conditions group.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”