installshield 急!(100分)

  • 主题发起人 主题发起人 Jobs
  • 开始时间 开始时间
J

Jobs

Unregistered / Unconfirmed
GUEST, unregistred user!
我使用的是installshield express limited edition for d5
出现的问题是1.不能正确设置access数据库的别名,paradox可以
2.bde 安装不正确, bde选择全部安装.
程序出错:在 017f:bff9dfc5 的模块
KERNEL32.DLL 中导致无效页错误。
我使用BDE连access,我怀疑是limited edition作怪,
但不知去呢下一个好的(for d5),另外,d5还需要额外发布Dao吗,怎么做.
程序马上就要交付,很急.请各位大虾指点.
 
不会吧,一觉醒来...
不行,我明天就只好手工发布给用户了.
 
d5还需要额外发布Dao
 
要DAO,VISUAL STUDIO光盘上有。
三四兆
 
dao的问题已经解决,昨晚,我重新装了win98,明白了dao需要另外发布,dao许多地方都有,office,sql server,d5...谢谢大家的关心.
但我想此题的关键是install shield.
我的程序已经手工交付了,但仍然非常关注此问题.
 
这个问题这么长时间都没有人关注,
这样吧,我再问个问题,解决了一样给分。

尽管我还是习惯Paradox,但是我认为Access
是一个非常出色的desktop数据库管理系统
我的问题是有d5怎么连Access最好,
ADO、DAO、BDE、ODBC...主要是效率。
我看以前的贴子说ODBC比较好。
更关键的一点是:如何作安装盘。
无需手工设置。我不会做ODBC、Diamond、
ADO的安装盘。我不知道怎么像BDE的别名
一样设置它们,让它们自动装好。
请高手指点一下。
我可是真心要把分送出去啊。




 
有一套叫diamond access的组件,封装了dao
比bde快很多,至少5-10倍,不信你试试,
另外ado应该是最便于连接的了,但microsoft说
不如dao快,但更通用,BDE就不用说了,太慢了,
ODBC其实也是通过DAO,所以用DAO直接做最快。
 
Diamand我下了最新版(大概是1.90)
但似乎有注册问题,能解决吗?
我用它连的时候,用的是绝对路径,怎莫作安装盘呢?
Ado也有同样的问题
 
告诉你一个真实的消息,我成功地用你这个版本的IS分发了我的带ACCESS库的程序
我也遇到过"不能正确设置access数据库的别名"这种错误,还曾经遇到"BDE初始化
错误",但最终都解决了.

我用的是D5,但我觉得IS设置与DELPHI的版本无关
1.在IS中设置目标机上BDE别名时,除IS的默认设置不要改外,"PATH"一项要用诸如
"<Common Files>/子目录名/文件名.MDB"的形式,
2.在你的开发用机上用BDE真实地按照上述"PATH"建立同样的别名,目的在于将
该别名信息写入IDAPI.CFG文件
3.观察你开发用机上的注册表,见HKEY_LOCAL_MACHINE/SOFTWARE/BORLAND/
在IS中照抄BLW32与DATABASE ENGINE两项,观察那些文件的名字及路径,(特别是
IDAPI.CFG)
4.在安装包中手动打入IDAPI.CFG文件,目标路径应与IS中修改的目标注册表路径指向
一致,当然,你用的DB文件放置的目标路径也要与目标别名一致.
5.上述完成后,到没有DELPHI与ACCESS的机器上测试安装,我曾遇到缺文件
"IDDAO32.DLL"的错误,但我立刻将之打入我的安装包中,再次测试一举成功!

总之,要注意BDE所用文件的路径指向,并相应地将文件放置在目标机上,
同时诸如.CFG之类的文件也要考虑,测试安装后,立刻观察目标机的注册表,是否正确
修改了.

我没有用诸如ADO,ODBC,DIAMOND之类,就是简单地用DATABASE DESKTOP设置了别名

我的任务时间较紧,没有深究上述手段的原理.但我可以很高兴地告诉你,我确实
成功了.我和我的同伴研究了很久,最后采用了上述手段.

当我第一次测试安装成功时,我激动得都要哭了.
在给你打这些文字时,我的手也在发抖,仍然为我当时的小小成功感到激动不已.因为
当时我也为任务所迫,并且也花了许多时间.

还有问题,请与我联系,是我没有条件经常上网,不一定能及时回复,请你原谅.
LBinary@263.net

附上我的IWZ文件(将之剪贴入"记事本"中,存盘为ShiCard.iwz,用IS打开)

[InstallShield Wizard]
iDate=2
iTime=1
Flag=0
ISX.EXE Size=679936
ISX.EXE Date=11:21:52 1999-4-8
ISX.EXE Ver=2.1.2.62
SETUP.EXE Size=45312
SETUP.EXE Date=9:12:24 1999-3-23
SETUP.EXE Ver=3.0.111.0
SETUP.INS Size=81342
SETUP.INS Date=11:26:40 1999-4-8
SETUP.INS Ver=Not available
_INST16.EX_ Size=81342
_INST16.EX_ Date=11:26:40 1999-4-8
_INST16.EX_ Ver=Not available
_INST32I.EX_ Size=294079
_INST32I.EX_ Date=9:12:22 1999-3-23
_INST32I.EX_ Ver=Not available
ISDEPEND.INI Size=6857
ISDEPEND.INI Date=10:13:00 1999-7-23
ISDEPEND.INI Ver=Not available
SWDEPEND.INI Size=9717
SWDEPEND.INI Date=10:18:30 1999-7-23
SWDEPEND.INI Ver=Not available
ICOMP.EXE Size=119808
ICOMP.EXE Date=9:12:24 1999-3-23
ICOMP.EXE Ver=3.00.062
SPLIT.EXE Size=90624
SPLIT.EXE Date=9:12:24 1999-3-23
SPLIT.EXE Ver=3.00.060
PACKLIST.EXE Size=87552
PACKLIST.EXE Date=9:12:24 1999-3-23
PACKLIST.EXE Ver=3.00.060
Version=2.12
DevTool=Delphi 5
Platform=Win32
DisksBuilt=1
DisksDir=SHICARD/144MB/
TabsVisit=11111111100001111
LangNum=0
LangDir=

[VisualDesign]
AppName=ShiCard
AppExe=[Program Files]/ShiCard.exe
AppExeFile=D:/Projects/Delphi/ShiCard/ShiCard.exe
Version=1.0.0.0
Company=OOCL
Title=ShiCard
TitleType=1
BackgrndBmp=
BackgrndAlign=4
Backgrnd=1
BackgrndColor=10
Uninstall=1
UninstallChecked=1
Silent=1
SmsMode=0

[Types]
Types=1
Type1Components=1
Type1Name=Complete
Type1ComponentList=1

[Components]
Components=1
Component1Groups=4
Component1Name=Application Files
Component1Description=Application files needed to run the application
Component1GroupList=1 2 3 4

[Groups]
Groups=4
Group1Size=1224704
Group1Files=1
Group1Name=Program Files
Group1Dir=<INSTALLDIR>
Group1Update=0
Group1TargetOS=-1
Group1File1=D:/Projects/Delphi/ShiCard/ShiCard.exe
Group2Size=550662
Group2Files=3
Group2Name=DB FILES
Group2Dir=<CommonFilesDir>/ShiCard Shared
Group2Update=1
Group2TargetOS=-1
Group2File1=C:/Program Files/Common Files/ShiCard Shared/logo.bmp
Group2File2=C:/Program Files/Common Files/ShiCard Shared/sc.ini
Group2File3=C:/Program Files/Common Files/ShiCard Shared/scInner.mdb
Group3Size=7804049
Group3Files=26
Group3Auto=101
Group3ID=38701
Group3Name=BDE/IDAPI Files
Group3Dir=<ProgramFilesDir>/Common Files/Borland Shared/BDE
Group3Update=-1
Group3TargetOS=-1
Group3File1=C:/Program Files/Common Files/Borland Shared/BDE/IDAPI32.DLL
Group3File1Auto=101
Group3File2=C:/Program Files/Common Files/Borland Shared/BDE/IDR20009.DLL
Group3File2Auto=101
Group3File3=C:/Program Files/Common Files/Borland Shared/BDE/BLW32.DLL
Group3File3Auto=101
Group3File4=C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.EXE
Group3File4Auto=101
Group3File5=C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.HLP
Group3File5Auto=101
Group3File6=C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.CNT
Group3File6Auto=101
Group3File7=C:/Program Files/Common Files/Borland Shared/BDE/BDEADMIN.TOC
Group3File7Auto=101
Group3File8=C:/Program Files/Common Files/Borland Shared/BDE/IDDR32.DLL
Group3File8Auto=101
Group3File9=C:/Program Files/Common Files/Borland Shared/BDE/IDPDX32.DLL
Group3File9Auto=101
Group3File10=C:/Program Files/Common Files/Borland Shared/BDE/IDSQL32.DLL
Group3File10Auto=101
Group3File11=C:/Program Files/Common Files/Borland Shared/BDE/IDBAT32.DLL
Group3File11Auto=101
Group3File12=C:/Program Files/Common Files/Borland Shared/BDE/IDQBE32.DLL
Group3File12Auto=101
Group3File13=C:/Program Files/Common Files/Borland Shared/BDE/IDDBAS32.DLL
Group3File13Auto=101
Group3File14=C:/Program Files/Common Files/Borland Shared/BDE/IDASCI32.DLL
Group3File14Auto=101
Group3File15=C:/Program Files/Common Files/Borland Shared/BDE/IDODBC32.DLL
Group3File15Auto=101
Group3File16=C:/Program Files/Common Files/Borland Shared/BDE/IDDA3532.DLL
Group3File16Auto=101
Group3File17=C:/PROGRAM FILES/INSTALLSHIELD/EXPRESS FOR DELPHI 5/redist/IDAPINST.DLL
Group3File17Auto=101
Group3File18=C:/Program Files/Common Files/Borland Shared/BDE/BANTAM.DLL
Group3File18Auto=101
Group3File19=C:/Program Files/Common Files/Borland Shared/BDE/USA.BTL
Group3File19Auto=101
Group3File20=C:/Program Files/Common Files/Borland Shared/BDE/EUROPE.BTL
Group3File20Auto=101
Group3File21=C:/Program Files/Common Files/Borland Shared/BDE/CEEUROPE.BTL
Group3File21Auto=101
Group3File22=C:/Program Files/Common Files/Borland Shared/BDE/JAPAN.BTL
Group3File22Auto=101
Group3File23=C:/Program Files/Common Files/Borland Shared/BDE/OTHER.BTL
Group3File23Auto=101
Group3File24=C:/Program Files/Common Files/Borland Shared/BDE/FAREAST.BTL
Group3File24Auto=101
Group3File25=C:/Program Files/Common Files/Borland Shared/BDE/CHARSET.CVB
Group3File25Auto=101
Group3File26=C:/Program Files/Common Files/Borland Shared/BDE/iddao32.dll
Group4Size=12795
Group4Files=2
Group4Auto=98
Group4ID=38698
Group4Name=BDE/IDAPI CNF File
Group4Dir=<ProgramFilesDir>/Common Files/Borland Shared/BDE
Group4Update=-1
Group4TargetOS=-1
Group4File1=C:/PROGRAM FILES/INSTALLSHIELD/EXPRESS FOR DELPHI 5/redist/IDAPI.CNF
Group4File1Auto=98
Group4File2=C:/Program Files/Common Files/Borland Shared/BDE/Idapi.cfg

[Sequence]
DestinationLocationDir=<ProgramFilesDir>/OOCL/ShiCard
DatabaseLocationDir=<INSTALLDIR>/data
SelectProgramFolderName=ShiCard
WelcomeMessage=1
WelcomeMessageFile=
DestinationLocation=1
SelectProgramFolder=1
BeginFileTransfer=1
ProgressBar=1
Billboards=1
BillboardsFile=C:/Temp/sc/
SetupComplete=1
SetupCompleteExec=[Program Files]/ShiCard.exe
SetupCompleteExecParam=
SetupCompleteExecReadme=

[RegEntries]
Reg1Path=HKEY_CLASSES_ROOT
Reg1Val1Type=0
Reg1Val1Name=(Default)
Reg1Val1Data=(value not set)
Reg1Vals=1
Reg2Path=HKEY_CURRENT_USER
Reg2Val1Type=0
Reg2Val1Name=(Default)
Reg2Val1Data=(value not set)
Reg2Vals=1
Reg3Path=HKEY_LOCAL_MACHINE
Reg3Val1Type=0
Reg3Val1Name=(Default)
Reg3Val1Data=(value not set)
Reg3Vals=1
Reg4Path=HKEY_USERS
Reg4Val1Type=0
Reg4Val1Name=(Default)
Reg4Val1Data=(value not set)
Reg4Vals=1
Reg5Path=HKEY_CURRENT_CONFIG
Reg5Val1Type=0
Reg5Val1Name=(Default)
Reg5Val1Data=(value not set)
Reg5Vals=1
Reg6Path=HKEY_DYN_DATA
Reg6Val1Type=0
Reg6Val1Name=(Default)
Reg6Val1Data=(value not set)
Reg6Vals=1
Reg7Path=HKEY_LOCAL_MACHINE/SOFTWARE
Reg7Val1Type=0
Reg7Val1Name=(Default)
Reg7Val1Data=(value not set)
Reg7Vals=1
Reg8Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland
Reg8Val1Type=0
Reg8Val1Name=(Default)
Reg8Val1Data=(value not set)
Reg8Vals=1
Reg9Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/BLW32
Reg9Val1Type=0
Reg9Val1Name=(Default)
Reg9Val1Data=(value not set)
Reg9Val2Type=0
Reg9Val2Name=BLAPIPATH
Reg9Val2Data=C:/Program Files/Common Files/Borland Shared/BDE
Reg9Vals=2
Reg10Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg10Val1Type=0
Reg10Val1Name=(Default)
Reg10Val1Data=(value not set)
Reg10Val2Type=0
Reg10Val2Name=CONFIGFILE01
Reg10Val2Data=C:/Program Files/Common Files/Borland Shared/BDE/IDAPI.CFG
Reg10Val3Type=0
Reg10Val3Name=DLLPATH
Reg10Val3Data=C:/Program Files/Common Files/Borland Shared/BDE
Reg10Val4Type=0
Reg10Val4Name=RESOURCE
Reg10Val4Data=0009
Reg10Val5Type=0
Reg10Val5Name=SaveConfig
Reg10Val5Data=WIN32
Reg10Val6Type=0
Reg10Val6Name=UseCount
Reg10Val6Data=1
Reg10Vals=6
Reg11Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings
Reg11Val1Type=0
Reg11Val1Name=(Default)
Reg11Val1Data=(value not set)
Reg11Vals=1
Reg12Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS
Reg12Val1Type=0
Reg12Val1Name=(Default)
Reg12Val1Data=(value not set)
Reg12Vals=1
Reg13Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS
Reg13Val1Type=0
Reg13Val1Name=(Default)
Reg13Val1Data=(value not set)
Reg13Vals=1
Reg14Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg14Val1Type=0
Reg14Val1Name=(Default)
Reg14Val1Data=(value not set)
Reg14Val2Type=0
Reg14Val2Name=DATABASE NAME
Reg14Val2Data=DRIVE:/PATH/DATABASE.MDB
Reg14Val3Type=0
Reg14Val3Name=LANGDRIVER
Reg14Val3Data=
Reg14Val4Type=0
Reg14Val4Name=OPEN MODE
Reg14Val4Data=READ/WRITE
Reg14Val5Type=0
Reg14Val5Name=SYSTEM DATABASE
Reg14Val5Data=
Reg14Val6Type=0
Reg14Val6Name=USER NAME
Reg14Val6Data=
Reg14Vals=6
Reg15Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg15Val1Type=0
Reg15Val1Name=(Default)
Reg15Val1Data=(value not set)
Reg15Val2Type=0
Reg15Val2Name=DLL32
Reg15Val2Data=IDDA3532.DLL
Reg15Val3Type=0
Reg15Val3Name=DRIVER FLAGS
Reg15Val3Data=
Reg15Val4Type=0
Reg15Val4Name=TRACE MODE
Reg15Val4Data=0
Reg15Val5Type=0
Reg15Val5Name=TYPE
Reg15Val5Data=SERVER
Reg15Val6Type=0
Reg15Val6Name=VERSION
Reg15Val6Data=1.0
Reg15Vals=6
Regs=15

[Registry]
Reg1Path=HKEY_LOCAL_MACHINE/SOFTWARE
Reg2Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland
Reg3Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/BLW32
Reg4Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/BLW32
Reg4ValName=BLAPIPATH
Reg4ValType=0
Reg4ValData=C:/Program Files/Common Files/Borland Shared/BDE
Reg5Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg6Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg6ValName=CONFIGFILE01
Reg6ValType=0
Reg6ValData=C:/Program Files/Common Files/Borland Shared/BDE/IDAPI.CFG
Reg7Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg7ValName=DLLPATH
Reg7ValType=0
Reg7ValData=C:/Program Files/Common Files/Borland Shared/BDE
Reg8Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg8ValName=RESOURCE
Reg8ValType=0
Reg8ValData=0009
Reg9Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg9ValName=SaveConfig
Reg9ValType=0
Reg9ValData=WIN32
Reg10Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine
Reg10ValName=UseCount
Reg10ValType=0
Reg10ValData=1
Reg11Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings
Reg12Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS
Reg13Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS
Reg14Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg15Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg15ValName=DATABASE NAME
Reg15ValType=0
Reg15ValData=DRIVE:/PATH/DATABASE.MDB
Reg16Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg16ValName=LANGDRIVER
Reg17Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg17ValName=OPEN MODE
Reg17ValType=0
Reg17ValData=READ/WRITE
Reg18Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg18ValName=SYSTEM DATABASE
Reg19Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/DB OPEN
Reg19ValName=USER NAME
Reg20Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg21Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg21ValName=DLL32
Reg21ValType=0
Reg21ValData=IDDA3532.DLL
Reg22Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg22ValName=DRIVER FLAGS
Reg23Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg23ValName=TRACE MODE
Reg23ValType=0
Reg23ValData=0
Reg24Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg24ValName=TYPE
Reg24ValType=0
Reg24ValData=SERVER
Reg25Path=HKEY_LOCAL_MACHINE/SOFTWARE/Borland/Database Engine/Settings/DRIVERS/MSACCESS/INIT
Reg25ValName=VERSION
Reg25ValType=0
Reg25ValData=1.0
Regs=25

[Icons]
Icons=1
Icon1Param=
Icon1Cmd=[Program Files]/ShiCard.exe
Icon1Description=ShiCard
Icon1WorkingDir=[Program Files]
Icon1IconFile=
Icon1RealFile=C:/WORKS/ShiCard/ShiCard.exe
Icon1WhichIcon=0
Icon1KeyVirtual=0
Icon1KeyFlags=0
Icon1StartMenu=0
Icon1Window=0

[IDAPI Alias]
Alias1=scInner
Alias1Path=<CommonFilesDir>/ShiCard Shared/scInner.mdb
Alias1Type=MSACCESS
Aliases=1
SaveCfg=1

[IDAPI Alias scInner]
USER NAME=''
PASSWORD=''

[Autoexec]
PathDir=
ShareLocks=
ShareFiles=
Command=

[CopyToFloppy]
DriveOption=
DestinationPath=
DestinationPathOneFile=
Password=

[ISObjectIDs]
nTotal=1
ID1=101

[Uninstall]
UserUninstall=0
 
多人接受答案了。
 
后退
顶部