24. april 2005 - 13:40
#1
Hej.
Min erfaring er at VB's egen setup wizard sørger for det. M.h.t. ADO har jeg ingen viden, jeg har aldrig brugt det. I den fil 'setup.lst' som setup wizard bl.a. danner, kan du tilmed rette placering, titel, default inst. mappe m.v.
Et eksempel:
[BootStrap]
File1=1,,setup1.ex_,setup1.exe,$(WinPath),,,1/16/1997 0:00:00,164864,5.0.0.3716,"","",""
File2=1,,VB5StKit.dl_,VB5StKit.dll,$(WinSysPath),,$(Shared),1/16/1997 0:00:00,29696,5.0.37.16,"","",""
File3=1,,MSVBVM50.dl_,MSVBVM50.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,2/16/2000 0:00:00,1355776,5.2.82.44,"","",""
File4=1,,StdOle2.tl_,StdOle2.tlb,$(WinSysPathSysFile),$(TLBRegister),,1/15/1997 0:00:00,16896,2.20.4054.1,"","",""
File5=1,,OleAut32.dl_,OleAut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,1/15/1997 0:00:00,491792,2.20.4054.1,"","",""
File6=1,,OlePro32.dl_,OlePro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,1/15/1997 0:00:00,32528,5.0.4055.1,"","",""
File7=1,,AsycFilt.dl_,AsycFilt.dll,$(WinSysPathSysFile),,,1/15/1997 0:00:00,120592,2.20.4056.1,"","",""
File8=1,,Ctl3d32.dl_,Ctl3d32.dll,$(WinSysPathSysFile),,,8/21/1996 0:00:00,27136,2.31.0.0,"","",""
File9=1,,ComCat.dl_,ComCat.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,10/31/1996 0:00:00,22288,4.71.1441.1,"","",""
[Files]
File1=1,,MSFLXGRD.OC_,MSFLXGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/1998 0:00:00,244024,6.0.81.69,"","",""
File2=1,,MCI32.OC_,MCI32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),1/16/1997 0:00:00,192272,5.0.37.14,"","",""
File3=1,,msdxm.oc_,msdxm.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),9/18/2003 12:26:00,845584,6.4.9.1128,"","",""
File4=1,,musikdb.ex_,musikdb.exe,$(AppPath),,,7/2/2004 22:02:18,381952,1.0.0.0,"","musikdb","$(AppPath)\musikdb.exe"
File5=1,,1A180.WA_,1A180.WAV,$(AppPath),,,2/19/1999 13:44:58,254132,,"","",""
File6=1,,Baand.da_,Baand.dat,$(AppPath),,,5/6/2000 19:29:18,203,,"","",""
File7=1,,ikke.jp_,ikke.jpg,$(AppPath),,,6/26/2002 13:36:54,13554,,"","",""
File8=1,,LABBAAND.TX_,LABBAAND.TXT,$(AppPath),,,8/6/2002 10:03:36,196,,"","",""
File9=1,,LABMUSIK.TX_,LABMUSIK.TXT,$(AppPath),,,9/26/2003 13:49:52,128,,"","",""
File10=1,,MANUAL08.HT_,MANUAL08.HTM,$(AppPath),,,8/6/2002 11:54:34,6501,,"","",""
File11=1,,MCI32.DE_,MCI32.DEP,$(AppPath),,,1/14/1997 0:00:00,2395,5.0.37.14,"","",""
File12=1,,Musik.da_,Musik.dat,$(AppPath),,,5/6/2000 19:29:18,2450,,"","",""
File13=1,,musikurl.da_,musikurl.dat,$(AppPath),,,12/1/2002 0:57:30,4874,,"","",""
File14=1,,navne.da_,navne.dat,$(AppPath),,,12/4/2002 20:17:58,1807,,"","",""
File15=1,,1A110.WA_,1A110.WAV,$(AppPath),,,8/21/1995 18:23:34,151176,,"","",""
File16=1,,MSFLXGRD.DE_,MSFLXGRD.DEP,$(AppPath),,,11/29/2002 0:52:46,2495,6.0.8169.0,"","",""
[Setup]
Title=JkfSoft Melodi-database ver. 1.22c demo-setup
DefProgramGroup=Melodier
DefaultDir=$(ProgramFiles)\Jkfsoft
Setup=setup1.exe
AppExe=musikdb.exe
AppToUninstall=musikdb.exe
AppPath=