Click to See Complete Forum and Search --> : Installation Package Problems


njagan
June 19th, 2001, 11:20 AM
Hi,

I am trying to create an installable package for my software using the "Package & Deployment Wizard" that come along with Visual Basic 6.0.

The installables are created successfully. However, when I try running the install program it says that it's not able to register the file "msado25.tbl". If I ignore this error and proceed to run the application, the application terminates with an error "Unexpected error: Class does not support automation or does not support expected interface".

Any help on this would be appreciated.

Regards,
Jagan.

Iouri
June 19th, 2001, 11:26 AM
Probably you are refrencing an ado library that is the latest and geratest on your machine but when you try
to package the exe, PDW by dafault picks up from its own repository of redistribution components which
normally has a version which is older.
So what happens the PDW picks up the ADO library all right automatically based on the Reference setting in
your project but it picks up the older version.
If this is the case then
For this replace the Mdac_typ.exe in the
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist with the latest Mdac_typ.exe


Iouri Boutchkine
iouri@hotsheet.com

waqas_hussain
June 19th, 2001, 11:31 AM
Get and Install Microsoft Data Access Object 2.5. After that Re Build you Packing. You will be prompted to use old Script, Don't use your old script, create a new one. After you will be told that the Dependency Information about MSADO25.tlb could not be found. Ignore this error. IF error does not display then it's well and good. Hope fully your Package will install on both your's and your clien'ts computer successfully.