有谁知道用delphi自带的InstallShield安装Access2000的驱动以及ODBC(188分)

  • 主题发起人 主题发起人 Fans
  • 开始时间 开始时间
F

Fans

Unregistered / Unconfirmed
GUEST, unregistred user!
非常关注这个问题。希望高手们指点。188讨个吉利。
 
Delphi自己带的InstallShield比较差,不支持ODBC的安装。
用专业的InstallShield professional什么都搞定了。
 
去年我在用Delphi自带的InstallShield安装Access97驱动时也是无法成功,
后来下载了InstallShield professional 6.0是可以安装成功的。
另外使用WISE也可以。
 
用wise installer,这个工具绝对简单。
 
同意Flintstone,Wise installer比InstallShield用起来简单多了,而且功能一点也不差
http://www.nease.net/~tomcar/有下载
 
不过,Wise installer比InstallShield的安装界面差了点
 
Delphi IS 4.0 有一步是修改注册表, 你可以作类似的注册项:
1.建KEY
/HKEY_CURRENT_USER/Software/ODBC/ODBC.INI/ODBC Data Sources
建Value
Name= MS Access Database Data = "Microsoft Access Driver(*.mdb)"
= YourOwnDataSouree = "Microsoft Access Driver(*.mdb)"
2.建KEY
/HKEY_CURRENT_USER/Software/ODBC/ODBC.INI/MS Access Driver
建Value
Name = Driver Data = "C:/Windows/System/ODBCJT32.DLL" (此处
可用IS中的<SYSTEMDIR>等)
= DriverID = 0x00000019
= SafeTransactions = 0x00000000
= UID = ""
3.建KEY
/HKEY_CURRENT_USER/Software/ODBC/ODBC.INI/MS Access Driver/Engines/Jet
建Value
Name = ImplicitCommitSync Data = ""
=Threads = 0x00000003
=UserCommitSync = "Yes"
4.建KEY
/HKEY_CURRENT_USER/Software/ODBC/ODBC.INI/YourOwnDataSource
建Value
Name = DBQ Data = "YourOwnDataBasePath/DataBaseName.mdb"
= Driver = "C:/WINDOWS/SYSTEM/ODBCJT32.DLL"
= DriverID = 0x00000019
= FIL = "MS Access;" (分号)
= SafeTranscations = 0x00000000
= UID = ""
5.建KEY
/HKEY_CURRENT_USER/Software/ODBC/ODBC.INI/YourOwnDataSource/Engines/Jet
建Value
Name = ImplicitCommitSync Data = ""
= MaxBufferSize = 0x00000800
= PageTimeOut = 0x00000005
= Threads = 0x00000003
= UserCommitSync = "Yes"

到此为止你有注册表设置好了
然后把几个Ms Access 2000的几个DLL和ODBCJT32.DLL附带在你的安装文件里,并注意
它们的安装路径, 经过这此设置, 你就可以通过 Delphi IS 4.0 安装ODBC了.
试试吧!
 
多人接受答案了。
 
Ms Access 2000的几个DLL到底是哪几个Dll?
 
后退
顶部