older (VC++ 6) redistributables and AI pre-requisites - 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!

KoenT
Posts: 13
Joined: Mon May 18, 2009 8:30 pm

older (VC++ 6) redistributables and AI pre-requisites

Hi,
for a client of mine, I'm currently looking into switching their current installer over to AI.
I've found how to specifiy the software prerequisite for Visual C++ 2008 SP1 redistributable, which works fine.
However, I don't see a possibility to do the same for Visual C/C++ 6 (latest service packs = SP6 ?), as there are stil some older modules using that.
Could someone please tell me how to make sure this is installed first if not already present, using AI?
Thanks!
Koen
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: older (VC++ 6) redistributables and AI pre-requisites

Hi Koen,

This article explains how you can obtain the redistributable you need. After you obtain it, you can add it as a new prerequisite to your project. Please note that the User Guide contains a prerequisite tutorial which may help you. To find the registry entries installed by the prerequisite you can try using Process Monitor.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KoenT
Posts: 13
Joined: Mon May 18, 2009 8:30 pm

Re: older (VC++ 6) redistributables and AI pre-requisites

Thank you for your prompt reply!

When I added vcredist.exe as a pre-requisite, the thing runs, but afterwards still says something like: "some prerequisites are still missing".
I guess I'll need to use that monitoring tool to find out how to propery detect if this is already installed or not.
Or can anyone here help me right away?

(I see that the registry key for Visual C++ 2008 SP 1 Redistributables is HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033\SP , so I assume it must me sonething similar)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: older (VC++ 6) redistributables and AI pre-requisites

Hi,

The message is shown because the prerequisite detection criteria is incorrect. You can try checking the "HKLM\SOFTWARE\Microsoft\DevDiv\VC" registry key to see if you find something installed by the 6.0 version of the redistributable. If you find a registry entry, you can use it as a detection criteria for the prerequisite.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KoenT
Posts: 13
Joined: Mon May 18, 2009 8:30 pm

Re: older (VC++ 6) redistributables and AI pre-requisites

I only found keys for 8.0 and 9.0 there...
But I am now checking for the version of msvcrt.dll, and if it is 6.0 or above, the redist is not executed. This seems to work fine.

Return to “Common Problems”