Problem Installing Database

Started by randem, October 03, 2009, 12:04:11 PM

Previous topic - Next topic

Randem

Aloha Jase,

First thing that I see is that you are deploying files that you should not because they are OS version specific https://randemsystems.support/innoscript-general-questions-report-bugs-problems-etc/installation-problems/. Those files should be removed (and possibly others in your script) and replaced with the universal VB runtime files and the correct MDAC for your target OS. We have a Automatic OS Updater that can help you in that area

You could also run your VB project thru InnoScript and it will do most of that for you.

I would need to see your script to know more...

jase

I am installing a VB6 database app (Access '97 Database). The install files are:
 
Myapp.exe App dir
Mydb.mdb App dir  
stdole2.tlb  
msvbvm60.dll
oleaut32.dll
olepro32.dll
asycfilt.dll
comcat.dll
comctl32.ocx
COMDLG32.OCX
DBGRID32.OCX
MFC40.DLL
MSCOMCTL.OCX
Dao350.dll
MSJET35.DLL
MSJINT35.DLL
MSJTER35.DLL
MSRD2X35.DLL
MSREPL35.DLL
EXPSRV.DLL
VB5DB.DLL
 
All to the Sys Dir using Conditional Installs. Installing using InnoSetup gives a runtine error cannot load activex object (All versions of Windows). I assume it is referring to the dbgrid.ocx control. Installing using a legacy (WinXP) setup app will run the program correctly, but  on vista I get an message saying program was not installed correctly. Reinstall using recommended settings?.
 
Is this  a problem with the way the files are being registered with InnoSetup or am I missing some installation files?
 
How can I get the install working with InnoSetup?