How to check whether Access Database engine is installed or not?

B-K Hariprasad 1 Reputation point
2021-06-04T14:27:00.387+00:00

Hello,
I have requirement that I need to check whether Access Database Engine is installed or not through Registry key. Please tell me what is the key do we need to check in regedit?

Best Regards,
Hari

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 51,256 Reputation points
    2021-06-04T14:56:36.227+00:00

    Is there any particular reason why you need to check a registry key instead of just querying for the installed product directly?

    The 32-bit ODBC drivers is contained under HKLM\Software\WOW6432Node\ODBC\ODBCINST.INI. If Access driver is installed it'll show up here. But note that this is a 32-bit key so you'll have to adjust your code to read it if you're using a x64 bit app as otherwise it'll read the HKLM\Software\ODBC\ODBCINST.INI which is the x64 drivers. Access won't appear under there.