Visual C++ 2010 Redist x86 detection when X64 installed - 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!

PashaPal
Posts: 4
Joined: Fri Feb 13, 2009 12:08 pm

Visual C++ 2010 Redist x86 detection when X64 installed

Hi,
I have a peculiar problem with version 8.0.2 of the advanced installer. My updated application now requires Visual C++ 2010 Redist x86 to be installed,
and I use Advanced Installers pre-req settings which basically is a reg check for:
HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\10.0\red\Install

On 32 bit machines it works perfectly, and on 64 bit machines it works perfectly if both the x64 and x86 are not installed.

The problem occurs on 64 bit Windows machines where the same key above detects both X64 and x86 installs. So if the user has
X64 installed and x86 NOT installed, the installer never requests that the x86 pre-requisite be installed. So the application which requires the x86 version
of the Visual C++ 2010 redist does not run.

I have verified this on a client's machine and on one of our own internal machines.

Is there a solution to the above?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Visual C++ 2010 Redist x86 detection when X64 installed

Hello,

You can try to replace the existing predefined search of the prerequisite with this registry value:

Code: Select all

HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\10.0\red\x86\1033\Install
or this registry key:

Code: Select all

HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\10.0\red\x86\
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”