I wrote a program that uses an Access database and a Word document. I created an installation package using Inno Setup and installed it on a machine that has Windows 98, Access 2000, and Word 2000. It worked fine. But when I installed it on a system with Windows 95, Access 97, and Word 97, I get an "Error registering dll" error during the installation when it tried to register "msado15.dll". Here are the files included in the installation package:

'Vb system files
StdOle2.tlb"
MSVBVM60.dll" OleAut32.dll"
OlePro32.dll"
AsycFilt.dll";
Ctl3d32.dll"
ComCat.dll"

'Other files
msado15.dll"
Msword9.olb"
comdlg32.ocx"
msador15.dll"
Msado20.tlb"

And here is a section of code that uses the database:
Code:
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    rs.CursorType = adOpenKeyset
    rs.LockType = adLockOptimistic
    
    Dim strExtract As String
    strExtract = App.Path & "\Extract.mdb"
    
    Dim cn As ADODB.Connection
    Set cn = New ADODB.Connection
    cn.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strExtract & ";Persist Security Info=False")

    Dim cmd As ADODB.Command
    Set cmd = New ADODB.Command
    cmd.ActiveConnection = cn
    cmd.CommandType = adCmdText
    cmd.CommandText = "DELETE * FROM ExtractTable;"
    
    Set rs = cmd.Execute
Why can't it register the dll? Does it not work with Windows 95? What do I have to do to get it to work?

Please help!