风铃夜思雨:再问INNO setup打包问题?帮我看看BDE以后部分 ( 积分: 50 )

  • 主题发起人 主题发起人 yirong
  • 开始时间 开始时间
Y

yirong

Unregistered / Unconfirmed
GUEST, unregistred user!
帮我看看下面有什么问题?? 按照你给的,老是出错,现在我把下面的程序已编译好,我如果
不用BDE控件时,在另一套程序可以正常运行,可这套用到BDE支持的第三方控件,编译安装后程序没有响应.
[Setup]
AppName=业务管理系统
AppVerName=业务管理系统version 1.0
DefaultDirName=c:/gd_mis
DefaultGroupName=业务管理系统
UninstallDisplayIcon={app}/gd.exe
[Files]
Source: "gd.exe";
DestDir: "{app}"
Source: "gd.htm";
DestDir: "{app}"
;以下为客户端所需文件,计5个
Source: "C:/Program Files/Borland/Delphi7/Bin/DBEXPINT.dll ";
DestDir: "{pf}/Borland/Delphi7/Bin"
Source: "C:/A_IB71/ib71/win32/Client/bin/instreg.exe";
DestDir: "{pf}/Borland/InterBase7/bin"
Source: "C:/A_IB71/ib71/win32/Client/interbase.msg";
DestDir: "{pf}/Borland/InterBase7";
Flags: Promptifolder sharedfile
;Source: "C:/A_IB71/ib71/Set3050.exe";
DestDir: "{tmp}";
Flags: deleteafterinstall
Source: "C:/A_IB71/ib71/win32/Client/gds32.dll";
DestDir: "{sys}";
Flags: sharedfile
Source: "C:/A_IB71/ib71/win32/Client/msvcrt.dll";
DestDir: "{sys}";
Flags: onlyifdoesntexist uninsneveruninstall sharedfile
;以下为服务器端文件,所需文件为6个
Source: "C:/A_IB71/ib71/win32/Server/admin.ib";
DestDir: "{pf}/Borland/InterBase7";
Flags: onlyifdoesntexist uninsneveruninstall
Source: "C:/Program Files/Borland/InterBase/ibconfig";
DestDir: "{pf}/Borland/InterBase7";
Flags: Promptifolder
Source: "C:/Program Files/Borland/InterBase/bin/ibguard.exe";
DestDir: "{pf}/Borland/InterBase7/bin";
Flags: sharedfile
Source: "C:/Program Files/Borland/InterBase/bin/ibserver.exe";
DestDir: "{pf}/Borland/InterBase7/bin";
Flags: sharedfile
Source: "C:/Program Files/Borland/InterBase/ib_license.dat";
DestDir: "{pf}/Borland/InterBase7";
Flags: Promptifolder
Source: "C:/Program Files/Borland/InterBase/bin/instsvc.exe";
DestDir: "{pf}/Borland/InterBase7/bin"
;BDE files
Source: "C:/Program Files/Common Files/Borland Shared/BDE/bantam.dll";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: "C:/Program Files/Common Files/Borland Shared/BDE/blw32.dll";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: "C:/Program Files/Common Files/Borland Shared/BDE/idapi32.dll";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: "C:/Program Files/Common Files/Borland Shared/BDE/idr20009.dll";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: "C:/Program Files/Common Files/Borland Shared/BDE/fareast.btl";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
source: "C:/Program Files/Common Files/Borland Shared/BDE/usa.btl";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
source: "C:/Program Files/Common Files/Borland Shared/BDE/charset.cvb";
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
;
注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”
Source: C:/Program Files/Common Files/Borland Shared/BDE/idsql32.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/idqbe32.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/idbat32.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/iddr32.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/sqlint32.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/sql_int.cnf;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/bdeadmin.exe;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
;Source: C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.CPL;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/idapi32.cfg;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/disp.pak;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/disp.dll;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/datapump.exe;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/BDE32.HLP;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/BDE32.TOC;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/BDE32.CNT;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.TOC;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/bdeadmin.cnt;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.HLP;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/DATAPUMP.CNT;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/DATAPUMP.HLP;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/DATAPUMP.TOC;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/LOCALSQL.TOC;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/LOCALSQL.CNT;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/LOCALSQL.HLP;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/SQLLNK32.CNT;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/SQLLNK32.HLP;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile
Source: C:/Program Files/Common Files/Borland Shared/BDE/SQLLNK32.TOC;
DestDir: "{pf}/Common Files/Borland Shared/BDE";
Flags: sharedfile

[Components]
Name: BDE_Drivers;
Description: Borland Database Engine;
Flags: fixed;
Types: custom compact full
Name: BDEADMIN;
Description: BDE 管理器;
Types: full
Name: DataBump;
Description: 数据库数据转移工具;
Types: full
Name: DISP;
Description: Microsoft Transaction Server (MTS);
Types: full
Name: DbDrive;
Description: 数据库驱动程序;
Types: full
Name: OtherDrive/QBE;
Description: QBE 驱动程序函数库;
Types: full
Name: OtherDrive/Bat;
Description: 批操作驱动程序函数库;
Types: full
Name: OtherDrive/Ddr;
Description: Data Repository 驱动程序函数库;
Types: full
Name: Links;
Description: SQL Links Drivers;
Types: full
Name: Links/InterBase;
Description: InterBase SQL Links Driver;
Types: full
Name: HELP;
Description: 帮助文档;
Types: full
Name: HELP/BDE;
Description: BDE 帮助文档;
Types: full
Name: HELP/BDEADMIN;
Description: BDE 管理器帮助文档;
Types: full
Name: HELP/DataBump;
Description: 数据库数据转移工具帮助文档;
Types: full
Name: HELP/SQLQUERY;
Description: SQL 查询语句帮助文档;
Types: full
Name: HELP/SQLLINK;
Description: SQL 连接帮助文档;
Types: full
[Registry]
Root: HKLM;
Subkey: SOFTWARE/Borland/Database Engine;
ValueType: string;
ValueName: DLLPATH;
ValueData: {app}
Root: HKLM;
Subkey: SOFTWARE/Borland/BLW32;
ValueType: string;
ValueName: BLAPIPATH;
ValueData: {app}
Root: HKLM;
Subkey: SOFTWARE/Borland/Database Engine;
ValueType: string;
ValueName: CONFIGFILE01;
ValueData: {app}/idapi32.cfg;
Components: BDEADMIN
Root: HKLM;
Subkey: SOFTWARE/Borland/Database Engine;
ValueType: string;
ValueName: SaveConfig;
ValueData: WIN32;
Components: BDEADMIN
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: SEPARATOR;
ValueData: /;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: MODE;
ValueData: 0;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: FOURDIGITYEAR;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: YEARBIASED;
ValueData: TRUE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: LEADINGZEROM;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/DATE;
ValueType: string;
ValueName: LEADINGZEROD;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/NUMBER;
ValueType: string;
ValueName: DECIMALSEPARATOR;
ValueData: .;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/NUMBER;
ValueType: string;
ValueName: THOUSANDSEPARATOR;
ValueData: ,;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/NUMBER;
ValueType: string;
ValueName: DECIMALDIGITS;
ValueData: 2;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/NUMBER;
ValueType: string;
ValueName: LEADINGZERON;
ValueData: TRUE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/TIME;
ValueType: string;
ValueName: TWELVEHOUR;
ValueData: TRUE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/TIME;
ValueType: string;
ValueName: AMSTRING;
ValueData: AM;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/TIME;
ValueType: string;
ValueName: PMSTRING;
ValueData: PM;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/TIME;
ValueType: string;
ValueName: SECONDS;
ValueData: TRUE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/FORMATS/TIME;
ValueType: string;
ValueName: MILSECONDS;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: VERSION;
ValueData: 4.0;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: LOCAL SHARE;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: MINBUFSIZE;
ValueData: 128;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: MAXBUFSIZE;
ValueData: 2048;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: LANGDRIVER;
ValueData: china;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: MAXFILEHANDLES;
ValueData: 48;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: SYSFLAGS;
ValueData: 0;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: LOW MEMORY USAGE LIMIT;
ValueData: 32;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: AUTO ODBC;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: DEFAULT DRIVER;
ValueData: PARADOX;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: MEMSIZE;
ValueData: 16;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: SHAREDMEMSIZE;
ValueData: 2048;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: SHAREDMEMLOCATION;
ValueData: ;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: DATA REPOSITORY;
ValueData: ;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: SQLQRYMODE;
ValueData: ;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/SYSTEM/INIT;
ValueType: string;
ValueName: MTS POOLING;
ValueData: FALSE;
Components: BDE_Drivers
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SERVER NAME;
ValueData: IB_SERVER:/PATH/DATABASE.GDB;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: USER NAME;
ValueData: MYNAME;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: OPEN MODE;
ValueData: READ/WRITE;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SCHEMA CACHE SIZE;
ValueData: 8;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: LANGDRIVER;
ValueData: ;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SQLQRYMODE;
ValueData: ;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SQLPASSTHRU MODE;
ValueData: SHARED AUTOCOMMIT;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SCHEMA CACHE TIME;
ValueData: -1;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: MAX ROWS;
ValueData: -1;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: BATCH COUNT;
ValueData: 200;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: ENABLE SCHEMA CACHE;
ValueData: FALSE;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: SCHEMA CACHE DIR;
ValueData: ;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: ENABLE BCD;
ValueData: FALSE;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: BLOBS TO CACHE;
ValueData: 64;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: BLOB SIZE;
ValueData: 32;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: WAIT ON LOCKS;
ValueData: FALSE;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: COMMIT RETAIN;
ValueData: FALSE;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/DB OPEN;
ValueType: string;
ValueName: ROLE NAME;
ValueData: ;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/INIT;
ValueType: string;
ValueName: VERSION;
ValueData: 4.0;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/INIT;
ValueType: string;
ValueName: TYPE;
ValueData: SERVER;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/INIT;
ValueType: string;
ValueName: DLL32;
ValueData: SQLINT32.DLL;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/INIT;
ValueType: string;
ValueName: DRIVER FLAGS;
ValueData: ;
Components: Links/InterBase
Root: HKLM;
SubKey: SOFTWARE/Borland/Database Engine/Settings/DRIVERS/INTRBASE/INIT;
ValueType: string;
ValueName: TRACE MODE;
ValueData: 0;
Components: Links/InterBase
[Icons]
Name: "{group}/业务管理系统";
Filename: "{app}/gd.exe"
 
我用的是INTERBASE7.0数据库
 
bde已经被宝兰公司丢弃了,安装麻烦,而且体积不小。如果你用interbase数据库,建议用delphi自带的ibx控件,安装简单,只需带gds32.dll一个文件就够了。我这里有一个ib数据库客户端和服务器端一起打包的inno脚本,你可以看看,如果你只需安装ib客户端,那更简单:
http://blog.csdn.net/ufo2006/archive/2005/07/20/429949.aspx
 
后退
顶部