> On Oct 7, 10:52 am, tomix <tome...@gmail.com> wrote:
> > Hi,
> > I need to extract come information out of my com dlls I know how do it > > using 'RegOverridePredefKey'.
> > Is this safe to add the registration info to the registry table > > only ,or must I use all other com related tables?
> > Thanks in advance.
Hi tomix,
It is relatively 'safe' to import the registration into the registry table, but you will lose the self-heal functionality that using the COM tables (ClassID, ProgID, etc) gives you. If another application instantiates a COM object that you have registered in your package and there is a requirement for that package to repair, it won't happen. In reality I'm sure that's not much of an issue. In fact I've rarely seen a case where it has mattered at all.
One thing I would say is that (and I'm sure you're already aware of this) registering COM DLLs will give you different results based on what else is registered on that machine. I suppose that's the only plus side of using the SelfReg table, in that the registration is dynamic and 'tailored' to the individual machine at the time of installation. If you capture COM registration information and add it as static Registry table data you could have missed something which should have been written because DLL 'x' was registered on the target machine but not the one you captured on.
Extract at Build isn't using the SelfReg table.It really is grabbing the registry stuff for the Registry table and maybe the Class table. Whether the Registry table is the way to do it or not (rather than the Class table) is more debatable. -- Phil Wilson The Definitive Guide to Windows Installer http://www.apress.com/book/view/1590592972
"Sebastian Brand" <sebast...@instyler.com> wrote in message
> Extract at Build isn't using the SelfReg table.It really is grabbing the > registry stuff for the Registry table and maybe the Class table. Whether the > Registry table is the way to do it or not (rather than the Class table) is > more debatable. > -- > Phil Wilson > The Definitive Guide to Windows Installerhttp://www.apress.com/book/view/1590592972
> "Sebastian Brand" <sebast...@instyler.com> wrote in message