如何在安装应用程序期间检查Access数据库的版本 [英] How to check version of Access database during installing application

查看:196
本文介绍了如何在安装应用程序期间检查Access数据库的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我通过Access数据库2007生成了数据库软件.
在安装软件的过程中,如果要在目标计算机上不存在Access数据库2007,则要安装它,否则,请不要安装它.(例如:使用Installshield软件)
一种方法是:在注册表中检查Access数据库的版本,我在注册表中搜索它,但没有找到.(您知道我如何获得它吗?)

TNX

Hi all
I generated database software by Access database 2007.
During installing the software, I want if doesn''t exist Access database 2007 in target machine to install it otherwise doesn''t install it .(for example: using Installshield software)
one way is: check version of Access database in Registry, i search it in Registry but didn''t found.(Do you know how can i get it?)

TNX

推荐答案

您需要检查注册表中的以下项:

"HKEY_CLASSES_ROOT \ Access.Application \ CurVer"
该密钥将为您提供以下值:

Access.Application.8:表示:"Access 97"
Access.Application.9:表示:"Access 2000"
Access.Application.10的意思是:"Access XP"
Access.Application.11的意思是:"Access 2003"
Access.Application.12的意思是:"Access 2007"
Access.Application.13的意思是:"Access 2010"
You need to check the registry for the following key:

"HKEY_CLASSES_ROOT\Access.Application\CurVer"
The key will give you the following values:

Access.Application.8: means: "Access 97"
Access.Application.9: means: "Access 2000"
Access.Application.10 means: "Access XP"
Access.Application.11 means: "Access 2003"
Access.Application.12 means: "Access 2007"
Access.Application.13 means: "Access 2010"


这篇关于如何在安装应用程序期间检查Access数据库的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆