Results 1 to 5 of 5

Thread: Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2008
    Posts
    57

    Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    hello guys..

    i am trying to deploy my program using Inno Setup.
    and it works fine in any Windows XP computers but
    in Window7 i got this error

    Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    in the following files
    C:\Windows\system32\msadox.dll
    C:\Windows\system32\msado15.dll

    thanks.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    These libraries were never meant for individual redistribution anyway.

    And in any case they've been included as parts of the OS since Windows 2000 SP2 or so, and are serviced via Windows Update. So you don't need to try to install these at all and shouldn't because each Windows version gets tailored code for the specific OS. You risk breaking the user's computer by trying this.


    Win9x is another story, and to support those old OSs you need to deploy the MDAC_TYP.exe package and possibly DCOM95/DCOM98.

  3. #3
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    As you have been told, you probably shouldn't have to register these libraries. That being said, are you trying to register them on a 64 bit system? If so are you RegSvr32.exe from the C:\Windows\SysWOW64 directory?

  4. #4
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    They are probably native dlls and not activeX dlls that's why.

  5. #5
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3

    FYI, on a 64-bit machine, 32 bit binaries are stored in SysWOW64, and 64 bit binaries are stored in system32 (yes, this is confusing). The file system also redirects calls from Windows\system32 to Windows\SysWOW64 sometimes as described here. This may or may not be helpful in your particular case, but it's good to know.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

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