Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to detect MDAC_TYP


3 replies to this topic

Rakesh Gupta

Rakesh Gupta
  • Members
  • 11 posts

Posted 22 April 2002 - 16:08

How to get information about MDac_typ.exe is installed in a PC?
If installed, how to get version of that particular mdac_typ.exe?
Rakesh Gupta[br]visit me

Lucky

Lucky
  • Members
  • 119 posts

Posted 23 April 2002 - 09:38

Microsoft suggests to check the version of msdadc.dll.

Fouad Rziki

Fouad Rziki
  • Members
  • 43 posts

Posted 23 April 2002 - 13:04

Get MDAC Version and Check ODBC Drivers

This script allows for checking whether MDAC is installed and which version number it is. It also allows for checking whether certain ODBC drivers are installed, including Jet, SQL Server, Oracle, FoxPro and others. This function replaces GetMDACVersion() that has been here before. The new version works by checking the key MDAC file version so it is more reliable then registry lookup, which will no longer work with Office2000 and Windows2000.

To install MDAC as quietly as possible without reboot, use the following command line.

For MDAC versions up to 2.1 (works still with 2.5):

   mdac_typ.exe /q:a /c:\"setup.exe /qn1\"
For MDAC version 2.5 and above:

   mdac_typ.exe /q:a /c:\"dasetup.exe /q /n\"
See also:
   - Information for obtaining the latest version of MDAC on http://www.installsi...en/tt_winup.htm

the Windows Updates and Add-Ons page
   - InstallShield Object to install MDAC and DCOM http://www.installsi...bjects.htm#MDAC

prototype GetMDACVersionFromFile (BYREF BOOL, BYREF STRING)
prototype IsODBCDriverInstalled (BYREF BOOL, STRING) http://www.installsi...DBCVersions.zip (2.488 Bytes)    Provided by Daniel Odievich

Source: IS5/6 Samples --> Databases


greetings fouad

Rakesh Gupta

Rakesh Gupta
  • Members
  • 11 posts

Posted 23 April 2002 - 15:49

Thanks Lucky and Rziki for your help.

I will try and get bac if any problem encountered.
Rakesh Gupta[br]visit me