topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 2:45 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to force "Register DLL"?  (Read 22812 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
How to force "Register DLL"?
« on: January 26, 2012, 01:55 PM »
Lately I have been getting "Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x5" a few times too many from different programs I was installing. But not being able to repair my ageing 32-bits Vista Home Premium, I was hoping for a get-around solution. Can I somehow force Vista to register such a DLL at next Start, or something?
 :tellme:



2012-01-26_092601.gif


Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #1 on: January 26, 2012, 02:13 PM »
It's quite pre-Windows 7 this DLL, and it probably needs to be RegSvr32'd from an elevated command-prompt, or with UAC turned off (but that requires a reboot if it's currently on).
It's not an OS-used DLL, so it won't need to be done while (re)starting. It might help if AV is turned off during the RegSvr32 action, but usually that's not required.
Worst case it's missing some required file(s).

It's actually a fail in the installer, that should take care of things like that, but if if the installer is really old it couldn't know, ofcourse.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #2 on: January 26, 2012, 02:34 PM »
-sorry. I should of course have told that I have tried many solutions, including turning off security related programs. UAC has not been enabled since day one; I am the only user.

But if the failure was done by the installer, I will contact the various companies.
Thank you!


Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #3 on: January 26, 2012, 02:53 PM »
Looked it up to be sure, 0x5 is simply Access Denied.

The installer should be run as administrator, sometimes _even_ if UAC is turned off. Could also be a 32 vs 64 bit issue.

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #4 on: January 26, 2012, 05:47 PM »
Could also be a 32 vs 64 bit issue.

Shouldn't be, Curt's trying to install on a 32bit system - 64bit programs normally won't install, (well, they didn't want to when I was running 32bit :) ).

Perhaps try changing the Owner of the install file before running it elevated?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #5 on: January 26, 2012, 05:54 PM »
Could also be a 32 vs 64 bit issue.

Shouldn't be, Curt's trying to install on a 32bit system ...
I missed that from the original message :-[

Perhaps try changing the Owner of the install file before running it elevated?
That's not going to change anything, just running it elevated forcibly should solve it. This issue also exists for installers on Server 2008, that are not UAC/Vista+ aware, or recognized by the OS as being an installer. The last situation is most likely the case here.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #6 on: January 26, 2012, 09:00 PM »
fwiw, i have an app that uses ssubtmr6.dll in a 64-bit environment so the installer just needs to be "elevated" before running..

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #7 on: January 26, 2012, 09:09 PM »
Perhaps try changing the Owner of the install file before running it elevated?
That's not going to change anything, just running it elevated forcibly should solve it. This issue also exists for installers on Server 2008, that are not UAC/Vista+ aware, or recognized by the OS as being an installer. The last situation is most likely the case here.

I'm sure I've had trouble previously running programs, (whether elevated or not), until I specifically 'owned' the executable.  But then again, my memory may be alcohol distorted :)

But not being able to repair my ageing 32-bits Vista Home Premium, ....

Just going back to the OP, why can't you do a Repair Install Curt?

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #8 on: January 27, 2012, 03:15 AM »
why can't you do a Repair Install Curt?

-OEM, plus the initial backup was lost / corrupted. Today, most companies cannot offer me a Vista installation disk, and the one that could tried to charge me full OS price, just for a repair.


Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #9 on: January 27, 2012, 09:05 AM »
Does any of you already have an account at experts-exchange.com?

http://www.experts-e...asic/Q_21398615.html seems to tell what I can do, but I have to create an account if I want to know the answer.
 :tellme:


PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #10 on: January 27, 2012, 10:38 AM »
Does any of you already have an account at experts-exchange.com?

http://www.experts-e...asic/Q_21398615.html seems to tell what I can do, but I have to create an account if I want to know the answer.
 :tellme:



Post your link (http://www.experts-e...asic/Q_21398615.html) into a google search, click on the result and scroll all the way down to read the answers.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #11 on: January 27, 2012, 04:48 PM »
-thanks, PhilB66. Your Google page must clearly be different from mine, because I don't get the blocked text. Can/will you copy&paste and PM it for/to me?

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #12 on: January 27, 2012, 06:20 PM »
-thanks, PhilB66. Your Google page must clearly be different from mine, because I don't get the blocked text. Can/will you copy&paste and PM it for/to me?
Nope. Should work with any google search.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #13 on: January 28, 2012, 03:40 AM »
-yes, it works.
I didn't know about this feature and didn't understand that I first should click the link.
Thank you!


Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #14 on: February 07, 2012, 04:22 PM »
just saying that experts-exchange weren't experts,
so in all I never got an useful answer to my initial question:
Can I somehow force RegSvr32 to register a DLL?  :tellme:


I've just ruined my beloved Explorer, by updating QTTabBar,
because the very important QTFileTools.dll refuses to register (elevated or not).  :(


Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #15 on: February 07, 2012, 04:40 PM »
And what have the supplier of that DLL been able to tell you about this issue?

RegSvr32 normally always forces registration, but all it does is call the entrypoint for that, inside the DLL. If it fails, it's directly to do with the environment of the DLL, so Access denied, can be either or both access to a file, access to the registry, or missing dependencies.
Do you need to update some (MS C++?) system DLL's first, before this one will stick? (Windows Updates does wonders sometimes, even on Vista ;))

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: How to force "Register DLL"?
« Reply #16 on: February 07, 2012, 07:56 PM »
Have you tried unregistering the DLL and removing it and then registering the new version. You might need to use Safe Mode to unregister it and remove the old version if it loads with windows.

If it was installed and being updated it might be giving an access denied because it is actually in use.

Alternatively can you completely uninstall QTTabBar and manually ensure that it is totally removed before installing the new version? (I find the registry cleaner in CCLeaner handy for tracking down registry bits and pieces that should have been removed).