jeffg22
Posts: 13
Joined: Thu Oct 28, 2004 5:34 pm

MDAC

Hi -

I'm using Advanced Installer 2.2 to build an install program for a VB.NET application. I'm including a prerequisite of Microsoft's Data Access Components (MDAC), minimum version 2.8. I'm including the MDAC install file (MDAC_TYP.EXE) with the package. My PreRequisite setup looks like:

Display Name: MDAC
Target OS: All versions of Windows
Force installation ... : unchecked
Location: File in Package
File Path: <the location of the MDAC install file on my computer>
Exact Size: <filled in by AI>
Command Line: /Q:A /C:"dasetup /Q /N"
Criteria: Registry Value
Registry Value: HKLM\Software\Microsoft\DataAccess\FullInstallVer
Minimum: 2.8
Maximum:

Note: The above registry value is of type REG_SZ.

When I run the install on a machine with MDAC 2.7 installed, the PreRequisites screen shows:

Name: MDAC
Status: Required: 2.8 or higher. Found: 2.71.9030.4
Action: Don't Install

Apparently, 2.71.9030.4 is found to be "higher" than 2.8. (But, of course, it isn't.)

How can I get this to install for MDAC versions less than 2.8??

Thanks for your help.

- Jeff
dorel
Posts: 25
Joined: Mon Oct 18, 2004 8:13 am

The behaviour is normal because 8 is lower than 71.
You must set the minimum version to 2.80. The versions are compared piece by piece as numbers not as strings.
Dorel Pislan
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”