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..
Could you please help me out..
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
zafar.khan
16 years ago
Posted by:
anonymous_9363
16 years ago
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.
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
Posted by:
anonymous_9363
16 years ago
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.
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.
so that the conversation will remain readable.