Results 1 to 3 of 3

Thread: VB6 Installer Package Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2009
    Posts
    14

    VB6 Installer Package Problem

    Hey guys, I have created a basic Project using VB6. In my program I run data to and from a database, I can create an exe alright and run it perfectly. I have created an installer file for my program, and I run it, it does all the usual steps, then it comes to an error " An error occured while registering the file 'C:\Windows\System32\msadomd.dll"

    If I hit ignore, the program installs successfully and it still works, or it seems to anyways. Can anyone please tell me what this error means, how to fix it, and if it is inhibiting my program at all? (If it makes ADO not work, that needs to be fixed immediately.)

    Any help us much appreciated,

    ~Edocsil

  2. #2
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Sydney Australia
    Posts
    476

    Re: VB6 Installer Package Problem

    Go to Projects | References and see if msadomd.dll is in the list (look at the location for the actual dll name). If it is in the list uncheck it.
    Go to Tools |Options, select the General tab and uncheck Compile on Demand.
    Now see if your programme still complies. If it compiles then the dll is not needed, so make a new setup programme and hopefully it won't add that dll.

    Hope this helps

    FW

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Installer Package Problem

    Thread to "Application Deployment" forum, which is where questions about installing/distributing your software belong

    As a general rule you should not have any ADO files in your installation package - if anything you should install the entire MDAC package (which includes ADO), but that is only for Windows 2000 (up to SP3) or earlier, as Windows XP onwards have it pre-installed.

Tags for this Thread

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