/build/static/layout/Breadcrumb_cap_w.png

problem created with repair per user

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

Answers (6)

Posted by: anonymous_9363 15 years ago
Red Belt
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.
Posted by: Ram 15 years ago
Senior Purple Belt
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
Posted by: anonymous_9363 15 years ago
Red Belt
0
Is it registering in HKCU, by any chance?
Posted by: Ram 15 years ago
Senior Purple Belt
0
yes, it does
Posted by: anonymous_9363 15 years ago
Red Belt
0
...then somehow your user doesn't have access to his own hive. Check the applied permissions on HKCU\Software\Classes.

Weird...
Posted by: Ram 15 years ago
Senior Purple Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ