BostjanK
07-19-2003, 01:59 AM
Hi!
I'm trying to install my application that uses database connections on Win98. To do so, I must include MSJRO.dll and MSADOX.dll in the setup package (I'm using Inno Setup 3)
This is a part of a script file (files section):
*******************************
Source: "msjro.dll"; DestDir: "{sys}"; Attribs: system; CopyMode: alwaysskipifsameorolder; Flags: regserver sharedfile
Source: "msadox.dll"; DestDir: "{sys}"; Attribs: system; CopyMode: alwaysskipifsameorolder; Flags: regserver sharedfile
********************************
The installation goes fine, until the setup tries to register those two files - the an error occurs (for each of the two files):
Unable to register DLL/OCX: LoadLibrary failed; code 1157.
Then I try to register the filed manually (with REGSVR32.EXE), but this error occurs:
LoadLibrary("C:\WINDOWS\...\MSJRO.DLL") failed. GetLastError returns 0x00000488
If I choose IGNORE in the setuo, I get TYPE MISMATCH error whenever I use
Set rs = conn.Execute(sSQL)
'rs = recordset
'conn = connection
I would really appreciate your help.
Thanks in advance.
Bostjan
I'm trying to install my application that uses database connections on Win98. To do so, I must include MSJRO.dll and MSADOX.dll in the setup package (I'm using Inno Setup 3)
This is a part of a script file (files section):
*******************************
Source: "msjro.dll"; DestDir: "{sys}"; Attribs: system; CopyMode: alwaysskipifsameorolder; Flags: regserver sharedfile
Source: "msadox.dll"; DestDir: "{sys}"; Attribs: system; CopyMode: alwaysskipifsameorolder; Flags: regserver sharedfile
********************************
The installation goes fine, until the setup tries to register those two files - the an error occurs (for each of the two files):
Unable to register DLL/OCX: LoadLibrary failed; code 1157.
Then I try to register the filed manually (with REGSVR32.EXE), but this error occurs:
LoadLibrary("C:\WINDOWS\...\MSJRO.DLL") failed. GetLastError returns 0x00000488
If I choose IGNORE in the setuo, I get TYPE MISMATCH error whenever I use
Set rs = conn.Execute(sSQL)
'rs = recordset
'conn = connection
I would really appreciate your help.
Thanks in advance.
Bostjan