Hi All
I'm sorry if this topic has been covered before but I'm really stuck at the moment and I can't quite figure out how to create an install program.
I originally used the Package and Deployment wizard as included with VB and after succesfull installs on Win 98 machines I then tried to put it onto a Win XP Machine, however, I received an error message saying that some files were out of date and the PC then rebooted, however the program did not install.
I have tried using the INNO program to create the script but I just can't get my head around what I'm doing wrong.
I have tried searching through the forums for help on the install program but I can't make sense of what is wrong. Thh following is the SETUP.lst file as created by the VB Package and Deployment wizard:
and this is what I have so far in INNO.
If anyone can point me in the right direction about where to include the copying and registering of DLL's and ocx's in the INNO file I would appreciate it, or if someone can help me to change the SETUP.lst file so that it will install I would also appreciate it.
The program uses ADO to interface with an ACCESS database, I am using VB6 SP 4.0
Thanks
cmahon
I'm sorry if this topic has been covered before but I'm really stuck at the moment and I can't quite figure out how to create an install program.
I originally used the Package and Deployment wizard as included with VB and after succesfull installs on Win 98 machines I then tried to put it onto a Win XP Machine, however, I received an error message saying that some files were out of date and the PC then rebooted, however the program did not install.
I have tried using the INNO program to create the script but I just can't get my head around what I'm doing wrong.
I have tried searching through the forums for help on the install program but I can't make sense of what is wrong. Thh following is the SETUP.lst file as created by the VB Package and Deployment wizard:
Code:
[Bootstrap]
SetupTitle=Install
SetupText=Copying Files, please stand by.
CabFile=Timesheet_Entry.CAB
Spawn=Setup1.exe
Uninstal=st6unst.exe
TmpDir=msftqws.pdw
Cabs=1
[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/18/98 12:00:00 AM,102912,6.0.81.69
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,8/29/02 5:00:00 AM,17920,3.50.5014.0
File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,8/29/02 5:00:00 AM,77824,3.50.5014.0
File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/29/02 5:00:00 AM,106496,5.0.5014.0
File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/29/02 5:00:00 AM,569344,3.50.5016.0
File7=@MSVBVM60.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/29/02 5:00:00 AM,1388544,6.0.92.37
[IconGroups]
Group0=Timesheet
PrivateGroup0=True
Parent0=$(Programs)
[Timesheet]
Icon1="Timesheet_Entry.exe"
Title1=Timesheet
StartIn1=$(AppPath)
[Setup]
Title=Timesheet
DefaultDir=$(ProgramFiles)\Timesheet
AppExe=Timesheet_Entry.exe
AppToUninstall=Timesheet_Entry.exe
[Setup1 Files]
File1=@MSCOMCT2.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/26/98 12:00:00 AM,644400,6.0.81.77
File2=@GRID32.OCX,$(AppPath),,,6/26/98 8:22:22 PM,94744,4.0.29.8
File3=@MSCAL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),1/5/04 10:24:16 AM,89600,8.0.0.5007
File4=@MSFLXGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,244024,6.0.81.69
File5=@MSMASK32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,166200,6.0.81.69
File6=@msstdfmt.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),4/5/01 5:43:19 PM,118784,6.0.88.4
File7=@MSADODC.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,118064,6.0.81.71
File8=@msado20.tlb,$(WinSysPath),,$(Shared),2/20/03 4:20:58 PM,61440,2.80.1022.0
File9=@Timesheet_Entry.exe,$(AppPath),,,1/15/04 2:13:41 AM,86016,1.0.0.0
and this is what I have so far in INNO.
Code:
[Setup]
AppName=Timesheet Entry
AppVerName=Timesheet Entry 1.1
AppPublisher=CM Software
DefaultDirName={pf}\Timesheet Entry
DefaultGroupName=Timesheet Entry
Compression=lzma
SolidCompression=yes
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\OLD\Timesheet_Entry.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\Timesheet Entry"; Filename: "{app}\Timesheet_Entry.exe"
Name: "{userdesktop}\Timesheet Entry"; Filename: "{app}\Timesheet_Entry.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\Timesheet_Entry.exe"; Description: "{cm:LaunchProgram,Timesheet Entry}"; Flags: nowait postinstall skipifsilent
If anyone can point me in the right direction about where to include the copying and registering of DLL's and ocx's in the INNO file I would appreciate it, or if someone can help me to change the SETUP.lst file so that it will install I would also appreciate it.
The program uses ADO to interface with an ACCESS database, I am using VB6 SP 4.0
Thanks
cmahon