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
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
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.
Thanks for quick reply.
Yes, there is a reason for registry key check. Actually I have a requirement that while installing my application, I need to check whether Access Database Engine is installed or not, if Access Database Engine is already installed, my installer should skip to install Access Database Engine, otherwise my installer must install Access Database Engine before installing my application.
Best Regards,
Hari
Thanks for quick reply.
Yes, there is a reason for registry key check. Actually I have a requirement that while installing my application, I need to check whether Access Database Engine is installed or not, if Access Database Engine is already installed, my installer should skip to install Access Database Engine, otherwise my installer must install Access Database Engine before installing my application.
Best Regards,
Hari
For installers you should be looking at installed components, not registry keys. This is how MSI is designed to work. You can set up dependencies such that if the component is already installed it is skipped otherwise it is installed. This is already built into MSI. Of course how you configure that is up to the installer tool you're using.
Hello,
Thanks.
Basically I'm not using MSI installer. I'm using Innosetup. In Innosetup, I can check whether Access Database Engine is installed or not through Registry key. Could you please help on the Registry Keys which tells whether Access Database Engine is installed or not?
Best Regards,
hari
6 people are following this question.