InstallShield Express for delphi制作安装程序定制BDE引擎[2]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 moonet 的 blog

hkey_local_machine\software\borland\database engine\dllpath(字符串值)

语言驱动程序所在目录的设置:

hkey_local_machine\software \borland\blw32\blapipath(字符串值)

语言驱动程序文件名:

hkey_local_machine\ software\borland\blw32\locale_lib#(字符串值)  其中#为编号,按顺序为0123......如:

hkey_local_machine\software\borland\blw32\locale_lib0="fareasst.btl"  hkey_local_machine\software\borland \blw32\locale_lib1="usa.btl"

做完这些就足够了,按此办法即可有效减少bde驱动程序的大小,例如只用ttable控件操作paradox数据库,则只要idapi32.dllblw32.dllidr20009.dllfareast.btlusa.btlidpdx32.dll六个文件即可。这些文件可放在任何一个目录,只要在注册表指明即可。bde17.4m减到1.48m,压缩一下就只有几百k了,这使程序大为减小。

下面我们就以用installshield express for delphi5.0来制作一个paradox数据库应用系统的安装程序为例:

1. 启动installshield express for delphi5.0程序;

2. 设置new project对话框中有关文件目录路径,3. 然后进入setup checklist

4. set the visual design中设置程序名5. 、程序目录、安装程序主窗口等信息;

6. specify installshield objects for delphi5 中设置general options7. 选择bde数据库引擎;

8. specify components and files中设置groups and files项,9. program files中加入用户的所有程序文件和数据库表文件,10. bde/idapi files中删除除idbat32.dllusa.btlidapi.cfgcharset.cvbbantam.dllblw32.dllidapi32.dllfareast.btlidpdx32.dllidr20009.dllidsql32.dll以外的文件;

11. dialog boxes中设置所需安装对话框;

本文关键:InstallShield BDE引擎
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top