CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Location
    Kansas, USA
    Posts
    11

    Installation Package Problems

    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.


  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Installation Package Problems

    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
    [email protected]
    Iouri Boutchkine
    [email protected]

  3. #3
    Join Date
    Aug 2000
    Posts
    49

    Re: Installation Package Problems

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured