Link to home
Start Free TrialLog in
Avatar of bknouse
bknouseFlag for United States of America

asked on

Installation problems

I have written an application using VB 6.0 and I am having trouble with the installation.  I built the install using InstallShield Express.  
I am using an Access 2000 database in the application.  I included the MDAC_TYP.EXE install program in the setup.  It says that DCOM is also required for Windows 95 and 98 machines.  
1.  Do I include the DCOM install?  What if the installer is using above Windows 98?  What if the installer is using Windows ME?
2.  Should I convert the Access 2000 database to Access 97 and use DAO?
3.  In one attempt, I returned a 3706 error, which indicates the need for MDAC_TYP.EXE.  Installing MDAC_TYP returns another error.  What gives?

Thanks.

BK
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

1. DCOM needs to be installed prior to MDAC. Can InstallShield do that. Don't you have a way in IS to detect the current OS?

2. Please no. You can use Access 2000 database using DAO if you references DAO 3.6. But if your application is developed with ADO, stick to it!

3. Which other error?
Avatar of matthewroberts
matthewroberts

1. Distribute DCOM exe and put it in the installation instructions for the user to run it if required.

2. DAO is optimised for jet databases, outperforms ADO, but doesn't scale as freely as ADO. ADO outshines DAO in everything except Jet Databases (MSACCESS DB's). If DAO is dead then why are still developing it?? coz it kicks but in access queries.. I love all the new features with ADO, so stick with ADO, it works fine! (ADO.NET should blow away both of 'em with speedy client-side disconnect recordsets).

3. Try installing MDAC_TYPE in safe mode. Win9x is pretty protective of these objects and keeps these babies locked sometimes (even if not in memory). Goto MSDN and get a prog called cc.exe (component checker) and have a read of this fantastic site.. displays how 'friendly' MDAC real is..

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp
ASKER CERTIFIED SOLUTION
Avatar of zafarbhat
zafarbhat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
any progress?