Hello folks,

I have an app where I had to peform an repair per user install because few registry keys are not created on install for users.
And the repair action performed sucessfully and it install the keys. But this again created an problem of registering the dll.
In this app the shortcut regidters the the dll.(I mean if the shortcut is fired the dll will be registered)

i get the followig error

DLL register server in <Path>
Return code was; 0X80004005

If anyone out there knew why this happens please let me know.

Thankyou,

Ram
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
That error is 'Access Denied'. Generally speaking, users won't have write access to the HKLM hive.

The obvious answer is to have your package add the DLL's COM information (correctly, of course, using the proper tables, not using RegSvr32!). That way, the app won't need to.
Answered 07/02/2008 by: VBScab
Red Belt

Please log in to comment
0
Thankyou,
But before the repair action the dll is registering successfully although the app wasn't working. This looked bit weird for me.

Ram
Answered 07/02/2008 by: Ram
Senior Purple Belt

Please log in to comment
0
Is it registering in HKCU, by any chance?
Answered 07/02/2008 by: VBScab
Red Belt

Please log in to comment
0
yes, it does
Answered 07/02/2008 by: Ram
Senior Purple Belt

Please log in to comment
0
...then somehow your user doesn't have access to his own hive. Check the applied permissions on HKCU\Software\Classes.

Weird...
Answered 07/02/2008 by: VBScab
Red Belt

Please log in to comment
0
Hello VBscab,

Thanks I sorted the problem on the same day but could thank you as I was damn busy.

anyway, the prolem was: few registry keys that were suppose to be in HKCU ae missing for some reason. So I have imported the reg file and everything is fine.

If you havent talked about HKCU I wouldnt have watched it carefully.
Thanks Heaps

ram.
Answered 07/06/2008 by: Ram
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity