Thanks
Berni
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
Started by
bernadettefearon
, Aug 07 2001 10:09
2 replies to this topic
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 !!
Posted 09 August 2001 - 22:40
Hi,
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.
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.