Y
yirong
Unregistered / Unconfirmed
GUEST, unregistred user!
因为这套系统第三方控件用了BDE,所以INNO SETUP要安装BDE,
其他系统用DBEXPREE及INTERBASE打包已没问题,如下:
[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"
.......
其他系统用DBEXPREE及INTERBASE打包已没问题,如下:
[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"
.......