/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

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.
Answered 02/25/2008 by: zafar.khan
Yellow Belt

Please log in to comment
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.
Answered 02/25/2008 by: VBScab
Red Belt

Please log in to comment
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.
Answered 02/25/2008 by: rayz_0020
Senior Purple Belt

Please log in to comment
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.
Answered 02/26/2008 by: VBScab
Red Belt

Please log in to comment