可 可儿 Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #1 我使用delphi5.0自带的InstallShield, 现在想在安装我的程序的时候,先安装一个别的程序,是一个exe文件, 请问该如何控制?
M mjy97 Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #2 if bIsWindows95 = TRUE then LaunchAppAndWait(TARGETDIR+"//dll//dcom95.exe","/Q",WAIT); endif; 给分哟!!
L lentilz Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #4 哎,我推荐一个安装程序吧,Innosetup还有他的源码呢!
D duckstar Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #6 试试我这个吧,其中PROGRAM_PATH是你安装文件存在的路径,PROGRAM_FILENAME是你要运行的 另一个安装程序。(用InstallShield很容易实现的。) if (LaunchAppAndWait (PROGRAM_PATH^PROGRAM_FILENAME, "", WAIT) < 0) then MessageBox("不能运行配置程序!",INFORMATION); MessageBox("安装失败,您需要重新运行安装程序!", INFORMATION); abort; endif;
试试我这个吧,其中PROGRAM_PATH是你安装文件存在的路径,PROGRAM_FILENAME是你要运行的 另一个安装程序。(用InstallShield很容易实现的。) if (LaunchAppAndWait (PROGRAM_PATH^PROGRAM_FILENAME, "", WAIT) < 0) then MessageBox("不能运行配置程序!",INFORMATION); MessageBox("安装失败,您需要重新运行安装程序!", INFORMATION); abort; endif;
可 可儿 Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #7 我用的是delphi自带的安装程序,我找不到在哪里写? 我是一个新手,摆脱,写详细一些。
D duckstar Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #8 在“setup.rul”脚本文件里执行的最初部分加上就可以了,如果还不清楚的话,明天我给你 发一个实际的例子,我快下班了。
I IAmOnTheWay Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-27 #9 新点击Add Icon,在将该Icon改为你的.Exe文件即刻
可 可儿 Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-28 #11 我使用delphi5.0自带的InstallShield,我想知道在那里写脚本程序?
D duckstar Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-28 #12 Delphi5带的InstallShield难道不能编辑脚本程序?我用的是InstallShield 6.3, 我想FOR DELPHI5的一定是能够写脚本程序的。
可 可儿 Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-28 #13 我只找到下列代码,我应该怎样修改 [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 DisksDir= TabsVisit= LangNum=0 LangDir= [VisualDesign] AppName=程序名字 AppExe= AppExeFile= Version=1.0 Company=strong Title=程序名字 TitleType=1 BackgrndBmp= BackgrndAlign=4 Backgrnd=1 BackgrndColor=10 Uninstall=1 UninstallChecked=0 Silent=1 SmsMode=0 [Types] Types=1 Type1Components=1 Type1Name=Complete Type1ComponentList=1 [Components] Components=1 Component1Groups=1 Component1Name=Application Files Component1Description=Application files needed to run the application Component1GroupList=1 [Groups] Groups=1 Group1Size=0 Group1Files=0 Group1Name=Program Files Group1Dir=<INSTALLDIR> Group1Update=0 Group1TargetOS=-1 [Sequence] DestinationLocationDir=<ProgramFilesDir>/strong/程序名字 DatabaseLocationDir=<INSTALLDIR>/data SelectProgramFolderName=程序名字 WelcomeMessage=1 WelcomeMessageFile= UserInformation=1 DestinationLocation=1 SelectProgramFolder=1 begin FileTransfer=1 ProgressBar=1 Billboards=1 BillboardsFile=C:/PROGRA~1/INSTAL~1/EXPRES~1/Redist SetupComplete=1 SetupCompleteExec= 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 Regs=6 [Registry] [Autoexec] PathDir= ShareLocks= ShareFiles= Command= [CopyToFloppy] DriveOption= DestinationPath= DestinationPathOneFile= Password= [Uninstall] UserUninstall=0
我只找到下列代码,我应该怎样修改 [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 DisksDir= TabsVisit= LangNum=0 LangDir= [VisualDesign] AppName=程序名字 AppExe= AppExeFile= Version=1.0 Company=strong Title=程序名字 TitleType=1 BackgrndBmp= BackgrndAlign=4 Backgrnd=1 BackgrndColor=10 Uninstall=1 UninstallChecked=0 Silent=1 SmsMode=0 [Types] Types=1 Type1Components=1 Type1Name=Complete Type1ComponentList=1 [Components] Components=1 Component1Groups=1 Component1Name=Application Files Component1Description=Application files needed to run the application Component1GroupList=1 [Groups] Groups=1 Group1Size=0 Group1Files=0 Group1Name=Program Files Group1Dir=<INSTALLDIR> Group1Update=0 Group1TargetOS=-1 [Sequence] DestinationLocationDir=<ProgramFilesDir>/strong/程序名字 DatabaseLocationDir=<INSTALLDIR>/data SelectProgramFolderName=程序名字 WelcomeMessage=1 WelcomeMessageFile= UserInformation=1 DestinationLocation=1 SelectProgramFolder=1 begin FileTransfer=1 ProgressBar=1 Billboards=1 BillboardsFile=C:/PROGRA~1/INSTAL~1/EXPRES~1/Redist SetupComplete=1 SetupCompleteExec= 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 Regs=6 [Registry] [Autoexec] PathDir= ShareLocks= ShareFiles= Command= [CopyToFloppy] DriveOption= DestinationPath= DestinationPathOneFile= Password= [Uninstall] UserUninstall=0
D duckstar Unregistered / Unconfirmed GUEST, unregistred user! 2001-08-28 #14 这个并不是脚本文件呀,也许你应该试着用专业版的InstallShield,也是很好用的, 而且很容易上手。