Pete Furness
Posts: 16
Joined: Fri Feb 20, 2004 9:34 am
Location: SURREY, UK

MDAC Version

How would I test for the (already) installed MDAC version during an install and terminate with a message if (say) it was less than 2.5?
amalia

Hi Pete,
For now your single option is to make a custom action in which you should check the MDAC version. In the future, we intend to add features to help you solving your problem much easier.
Pete Furness
Posts: 16
Joined: Fri Feb 20, 2004 9:34 am
Location: SURREY, UK

Yes but HOW do I do that?
I need to check for the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess
and check the value of FullInstallVer (i.e. FullInstallVer >= "2.50.000")

Can this be done inside AvancedInstaller or do I have create an external file?

Pete
amalia

Hi Pete,
You have to create an external file and schedule it as a custom action. For now you can not check registry values inside Advanced Installer.
Regards,
Amalia
Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

Hi,

Even I need to check the MDAC Version and install it if it is less than 2.5 and install the latest before installing my application. Can any one help?

Thanks in Advance,
Harish.Y
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

You have to add MDAC as a Prerequisite for your install package. In the Prerequisites tab from the Media page, select New. Then:

1. Set the Search Type Criteria to "Registry Value" and in the Registry Value field enter "HKLM\SOFTWARE\Microsoft\DataAccess\FullInstallVer" (without quotes).

2. In the Minimum Version field enter 2.50

Hope this helps.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

Thank you very much

Return to “Common Problems”