/build/static/layout/Breadcrumb_cap_w.png

How to find a particular dll is self registered one or not

Prior to packaging the application, how to find one particular dll is self registered one or not.
Could you please help me out..

0 Comments   [ + ] Show comments

Answers (4)

Posted by: zafar.khan 16 years ago
Yellow Belt
0
1. Go to the property of a dll.
2.Go to the version tab
3.In the version tab if "OleSelfRegister" entry is there in the Item name, then this dll is Self Registerable.
Posted by: anonymous_9363 16 years ago
Red Belt
0
Manually examining each file as suggested is very labour-intensive for any but the smallestv of applications. Use a search tool to find the text 'DLLRegisterServer' in the DLLs.
Remember, though, that a good sprinkling of Java runtime files and an even more generous one of IBM products contain the DLLRegisterServer entry-point but cannot in fact be registered. Still, it's probably a good indication for the majority of DLLs.

And BTW, avoid using self-registration, either via the SelfReg table or [shudder] shelling out to RegSvr32. Both methods rely on ALL dependencies being present, which you obviously cannot guarantee. Use the advertising tables instead.
Posted by: rayz_0020 16 years ago
Senior Purple Belt
0
Generally self registered files would be stored in HKCR\CLSID\'Guids'.
Do we have any script to know a particular file is there in that list. please let me know if ant.
Posted by: anonymous_9363 16 years ago
Red Belt
0
I presume you now want to check if a file has been registered?

I do have a script, yes, but after finding one of the scripts I sent to someone on another forum posted on a website with my details removed and a bunch of changes which broke it, I only share with trusted colleagues/contributors. Sorry. It's not THAT hard, anyway. Use the WMI registry provider and build a routine to enumerate a registry key and its sub-keys. There's a rather good registry class knocking about: try searching for 'VBScript +cRegistry' or perhaps 'VBScript +clsRegistry', I can't recall the exact name.
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