Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: frayne on April 21, 2006, 08:16:37 AM

Title: PDW or VB Project file
Post by: frayne on April 21, 2006, 08:16:37 AM
I have run Innoscript to generate script files for my application using both the project file switch and the PDW switch.
When using the PDW switch it generates these extra files shown below.
Should this occur, and would you advise me to include them in my application?
I include the vb_dcom_mdac_jet_autosetup.exe in my script
 
mdac_typ.exe; DestDir: {app}; Flags:  ignoreversion
vb5db.dll; DestDir: {sys}; Flags:  sharedfile
msrd2x35.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile
msjint35.dll; DestDir: {sys}; Flags:  restartreplace sharedfile
msjter35.dll; DestDir: {sys}; Flags:  restartreplace sharedfile
dao350.dll; DestDir: {dao}; Flags:  regserver restartreplace sharedfile
 
thanks Rob
Title: PDW or VB Project file
Post by: Randem on April 21, 2006, 04:28:59 PM
frayne,
 
Run InnoScript on your VBP file to get a complete list of files that you need. PDW lacks the ability to find all the files you need. Then post the script and let's take a look at it.
Title: PDW or VB Project file
Post by: frayne on April 21, 2006, 11:18:56 PM
Below is a list of files in order that my applications data form load requires.
Could you tell me from the Innoscript provided are there any files here that I need to Add for my application to work on other P.Cs
 
OLE32.DLL
clbcatq.dll
compres.dll
version.dll
 
ADVAPI32.DLL
msi.dll
 
DAO360.DLL
msjet40.dll
mswstr10.dll
vbajet32.dll - expsrv.dll
 
MSJTES40.DLL
vbajet32.dll
 
MSVBVM60.DLL
vb5db.dll
 
; InnoScript Version 5.3  Build 1
; Randem Systems, Inc.
; Copyright 2003, 2004
; website:  https://randemsystems.com (https://randemsystems.com)
; support:  https://randemsystems.support (https://randemsystems.support)
 
; Date: April 16, 2006
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript 5.3\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   F:\CalCfinal\CalcVB\cc.vbp
; Inno Setup Script Output File (.iss):   F:\CalCfinal\CalcVB\150406.iss
 
; ------------------------
;        References
; ------------------------
 
; Visual Basic For Applications - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft DAO 3.5 Object Library - (dao350.dll)
; Microsoft ActiveX Data Objects 2.5 Library - (msado25.tlb)
 
 
; --------------------------
;        Components
; --------------------------
 
; Microsoft Windows Common Controls-2 6.0 (SP6) - (mscomct2.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
 
 
[Setup]
AppName=The Club Calculator
AppVerName=these files
AppPublisher=Rosewood Lofts
AppVersion=3.0.102
VersionInfoVersion=3.0.102
AllowNoIcons=no
DefaultGroupName=Racing Pigeon Utilities
DefaultDirName=C:\Clubcalc
AppCopyright=R J Frayne 2003
PrivilegesRequired=None
MinVersion=4.1,5.01
OutputBaseFilename=Calc220406
 
[Tasks]
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional Icons:
 
[Files]
 
;VB6 Runtime Files
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags:  sharedfile
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags:  sharedfile
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags:  sharedfile
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags:  sharedfile
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags:  regtypelib
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags:  sharedfile
Source: c:\program files\randem systems\innoscript\innoscript 5.3\vb 6 redist files\vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression
 
;Files I've added
Source: f:\calcfinal\calcvb\club.txt; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\clubcalc.doc; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\distances.mdb; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\email.txt; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\fed.txt; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\result.txt; DestDir: {app}; Flags:  ignoreversion
Source: f:\calcfinal\calcvb\cc.exe; DestDir: {app}; Flags:  ignoreversion
 
;Files Innoscript said are required to run application
Source: f:\calcfinal\calcvb\dao350.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile
Source: f:\calcfinal\calcvb\msado25.tlb; DestDir: {sys}; Flags:  uninsneveruninstall regtypelib
Source: f:\calcfinal\calcvb\mscomct2.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile
Source: f:\calcfinal\calcvb\mscomctl.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile
Source: f:\calcfinal\calcvb\comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile
 
 
[INI]
 
[Icons]
Name: {group}\The Club Calculator; Filename: {app}\cc.exe; WorkingDir: {app}
Name: {group}\Uninstall The Club Calculator; Filename: {uninstallexe}
Name: {userdesktop}\The Club Calculator; Filename: {app}\cc.exe; Tasks: desktopicon; WorkingDir: {app}
 
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {app}\cc.exe; Description: Launch The Club Calculator; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
Title: PDW or VB Project file
Post by: Randem on April 22, 2006, 08:06:55 AM
frayne ,
 
None of those files should be added. Is is possible for you to zip and upload the exe and vbp for your project (cc.exe and cc.vbp)? I will take a look at it.
Title: PDW or VB Project file
Post by: frayne on April 22, 2006, 08:38:09 AM
Thank you for your prompt reply. I have attached the two files you asked for.
Rob
Title: PDW or VB Project file
Post by: Randem on April 22, 2006, 09:09:16 PM
frayne,
 
I created, compiled and installed the setup from your VBP project and Installed it fine. When I attempt to run it I get Path not found error. I imagine it is because I don't have your additional files. I will need those to test it.
Title: PDW or VB Project file
Post by: frayne on April 22, 2006, 09:34:46 PM
I've attached the rest of the files. Make sure you place all files in the C:\clubcalc dir to run O.K. the reason I havent done a App path in the coding as I will know where my updated files will need to go on any clients P.C. The offending error occurs on some P.Cs  when the Enter members distances button on the opening form is pressed. There has never been an error with the calculator itself.
thanks for your time.
Rob
Title: PDW or VB Project file
Post by: Randem on April 22, 2006, 09:44:12 PM
frayne,
 
I will look at the installation with these added files.
 
BTW: what you stated makes no sense. if you use App.Path you will know where the files are.
Title: PDW or VB Project file
Post by: Randem on April 22, 2006, 09:56:28 PM
I tried your app and you do need to do more debugging on the app. Try using RSTools to narrow down the location.
Title: PDW or VB Project file
Post by: frayne on April 23, 2006, 02:58:28 AM
Thanks for your help, I'll give RStools a go, and let you know how I get on.
Rob
Title: PDW or VB Project file
Post by: frayne on April 23, 2006, 11:03:17 PM
I'm getting a run time error 430 when I try to start RStools.
Any suggestions.
rob
Title: PDW or VB Project file
Post by: Randem on April 24, 2006, 10:19:58 AM
There was a download corruption problem. It was corrected. Please re-download the file.
Title: PDW or VB Project file
Post by: frayne on May 06, 2006, 09:43:21 AM
I formatted an old PC, installed XP Home and installed my application.
The error (Data err event hit error etc) came up when I clicked on a command button to open Data Form.
I installed the program Dependency Walker and ran a profile of the my applications EXE.  
This was what it found at the point of error.
00:00:10.718: LoadLibraryA(VB5DB.DLL) called from MSVBVM60.DLL at address 0x6600473A.
00:00:10.734: LoadLibraryA(VB5DB.DLL) returned NULL. Error: The specified module could not be found (126).
I copied the missing VB5DB.DLL to the windows/system32 folder and everything working O.K
But why did'nt Innosetup or PDW state that this file was needed?
Rob
Title: PDW or VB Project file
Post by: Randem on May 06, 2006, 11:23:56 AM
Beacuse it is a dynamically called file. Not app can find what is called dynamically. If the appropiate service packs had been installed the file would have already been there.