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.

Detecting MDAC and installing conditionally

2 replies to this topic


  • Members
  • 94 posts

Posted 07 August 2001 - 10:09

Does anyone know how I would detect if a user has already got MDAC installed on their computer, and then to change the dialogs presented to them accordingly? - if they do not have MDAC i want to present with a dialog giving them the option to install it .I really appreciate any feedback anyone could give me as I am a new user and this is all a bit too much !!



  • Members
  • 227 posts

Posted 09 August 2001 - 22:40

For the detecting MDAC go to the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess and check value "Version"  or "FullInstallVer" (for the version after 2.5). You can do this in any code (VC or VB) and then set MSI property and use this property to show a dialog. Or you can show this dialog from you code directly.