Errors Errors everywhere!!!!

StealthRT
07-13-2003, 03:55 PM
yeah its me again, i cant seem to figure out how to fix my error i am getting when i start up my program.... i made the program in XP using VB6 and it works fine on my computer.. but when i install it on Windows 2000 & another XP computer, it gives me this error the very first time i try to run it:

System Error &H8007007E (-2147024770). The specified module could not be found.


The program will not start up at all, just keeps saying that! Here is a copy of my instalation script for Inno Setup 3:

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=Indra K. Shah, M.D. RPO v3.0
AppVerName=IKSMDRPO Version 3.0
AppPublisher=Cyber D! Studio, Inc.
AppPublisherURL=http://www.cyberdstudio.com
AppSupportURL=http://www.cyberdstudio.com
AppUpdatesURL=http://www.cyberdstudio.com
DefaultDirName={pf}\IKSMDRPO
DisableDirPage=yes
DefaultGroupName=IKSMDRPO v3.0
DisableProgramGroupPage=yes

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"

[Files]
; begin VB default files
Source: "c:\vbfiles\stdole2.tlb"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "c:\vbfiles\msvbvm60.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "c:\vbfiles\oleaut32.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "c:\vbfiles\olepro32.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "c:\vbfiles\asycfilt.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile
Source: "c:\vbfiles\comcat.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
; end VB default files
Source: "C:\docs3.0\30office\COMDLG32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSDATGRD.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSDATLST.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSDATREP.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\COMCT332.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\ARVIEW2.OCX"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSCOMCT2.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\DBLIST32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\COMCT232.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSCOMCTL.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSCOMCTL.ocx"; DestDir: "{app}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\MSADODC.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\DBGRID32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace sharedfile regserver
Source: "C:\docs3.0\30office\RICHTX32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\RICHED32.DLL"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall
Source: "C:\docs3.0\30office\MSSTDFMT.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\MSBIND.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\FM20.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\arpro2.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\msado15.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\docs3.0\30office\MSADO25.tlb"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
;Source: "C:\docs3.0\30office\MDAC_TYP.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\docs3.0\30office\MDAC_TYP27.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\docs3.0\30office\iksmdrpo.mdb"; DestDir: "c:\windows\database\"; CopyMode: alwaysoverwrite
; end VB system files
; start PROGRAM FILE
Source: "C:\docs3.0\finals\IKSMDRPO.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile
;end PROGRAM FILE
[Run]
;Filename: "{app}\MDAC_TYP.EXE"
Filename: "{app}\MDAC_TYP27.EXE"
[Icons]
Name: "{group}\Indra K. Shah, M.D. Records Program Office"; Filename: "{app}\IKSMDRPO.exe"
Name: "{group}\Uninstall Indra K. Shah, M.D. RPO v3.0"; Filename: "{uninstallexe}"
Name: "{userdesktop}\Indra K. Shah, M.D. RPO v3.0"; Filename: "{app}\IKSMDRPO.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Indra K. Shah, M.D. RPO"; Filename: "{app}\IKSMDRPO.exe"; Tasks: quicklaunchicon


Any help to my problem would be great!

Thanks again,
David

lebb
07-13-2003, 07:22 PM
Can you determine at what point it's generating the error? I'd
recommend creating a test .exe that has either msgboxes at each stage
so that you can see the progress up to the point where it errors, or file
logging to accomplish the same thing.

Also, is it running the MDAC install correctly? If you install MDAC
manually, does it produce the same error? Are you referencing an
Access database? If so, are the Jet drivers installed? They aren't
included in MDAC 2.7.

And finally, just a side note: the Forms 2.0 library is not licensed for
redistribution, so you cannot legally redistribute the fm20.dll file with
your project.

StealthRT
07-25-2003, 06:28 PM
sorry about the delay. I have tryed to correct the problem many times. It only runs fine on the machine that has Visual Studios installed. The other XP machine has the same error.

ive tryed using the P&DW to see if that corrects the problem but theres an error in that when it asks me to pick a DIR to install in, when i do it tells me that "..is in the setup file source directory.. please type a different dir." which i do and it still says the same thing!

So i really have no idea. I registered all my DLL and OCX files manualy.. only 3 could not be registered... msdart.dll, riched32.dll, mscomctl.ocx.

I have installed MDAC 2.7 & Jet 4.0 sp6 on the machine and i still get the error.

ANY help would be great! I need to get this thing working!!!!!!!!

here is the resent version of my installer i configured:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=Indra K. Shah, M.D. RPO v3.0
AppVerName=IKSMDRPO Version 3.0
AppPublisher=Cyber D! Studio, Inc.
AppPublisherURL=http://www.cyberdstudio.com
AppSupportURL=http://www.cyberdstudio.com
AppUpdatesURL=http://www.cyberdstudio.com
DefaultDirName={pf}\IKSMDRPO
DisableDirPage=yes
DefaultGroupName=IKSMDRPO v3.0
DisableProgramGroupPage=yes

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"

[Files]
; begin VB default files

Source: "C:\vbproj\fixes\DLLS\stdole2.TLB"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: regtypelib
Source: "c:\vbproj\fixes\DLLS\msvbvm60.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver
Source: "c:\vbproj\fixes\DLLS\oleaut32.dll"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: regserver
Source: "c:\vbproj\fixes\DLLS\olepro32.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver
Source: "c:\vbproj\fixes\DLLS\asycfilt.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\comcat.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver
; end VB default files
; begin VB system files
; UPDATED ON 7/25/03
Source: "c:\vbproj\fixes\DLLS\msdart.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\comdlg32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msdatgrd.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msdatlst.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msdatrep.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\comct332.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\arview2.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\mscomct2.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\dblist32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\comct232.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msadodc.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\dbgrid32.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\richtx32.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\riched32.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\msstdfmt.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msbind.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\fm20.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\arpro2.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msado15.dll"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
Source: "c:\vbproj\fixes\DLLS\msado25.TLB"; DestDir: "{sys}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\mscomctl.ocx"; DestDir: "{sys}"; CopyMode: alwaysoverwrite; Flags: regserver sharedfile
;Source: "c:\vbproj\fixes\DLLS\MDAC_TYP.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\MDAC_TYP27.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "c:\vbproj\fixes\DLLS\iksmdrpo.mdb"; DestDir: "c:\windows\database\"
Source: "c:\vbproj\fixes\DLLS\MSDartFix.bat"; DestDir: "{app}"
Source: "c:\vbproj\fixes\DLLS\jet40sp7.exe"; DestDir: "{app}"
; end VB system files
; start PROGRAM FILE
Source: "c:\vbproj\fixes\IKSMDRPO.EXE"; DestDir: "{app}"; CopyMode: alwaysoverwrite; Flags: restartreplace uninsneveruninstall sharedfile
;end PROGRAM FILE
[Run]
;Filename: "{app}\MDAC_TYP.EXE"
Filename: "{app}\MSDartFix.bat"
Filename: "{app}\MDAC_TYP27.EXE"
Filename: "{app}\jet40sp7.exe"

Thanks for your time,
David

lebb
07-25-2003, 09:11 PM
Hmm... one odd thing that I note is that you are installing your .mdb file to C:\Windows\Database, regardless of whether that is where Windows is installed on the target computer. Perhaps it doesn't matter, but it's messy, if nothing else.

Beyond that, I can only refer you back to my first suggestion above. Until you understand which dependency is causing the problem, it is going to be very difficult to correct.

StealthRT
07-25-2003, 11:46 PM
hey, i have found the answer... i just downloaded an ActiveX pad and it came with the file FM20.DLL that was needed for my program. It was the one that was not registered and was needed by my program to run.

But thanks for the help!

David :D

lebb
07-26-2003, 06:37 AM
Well, as I mentioned before, it is illegal to redistribute that file. If your program depends on it, the only way your program can be legally installed is on a PC that already has Office installed on it. Anything else is in violation of Microsoft's license agreement.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum