PDA

View Full Version : Question: Why does COM extraction leave HKCR\Interfaces ?



looeee
04-18-2006, 08:01 AM
As I understand it ... when a COM server containing entries in the TypeLib Table is installed, the Type Library is registered by calling Oleaut32::RegisterTypeLib which writes out the HKCR\Interfaces keys.

When InstallShield's COM-extraction is run, these keys are left in the registry table.

If these keys are generated at runtime then are they necessary in the registry table?

looeee

Mike Marino
04-18-2006, 02:35 PM
They are required if you use a custom ProxyStub. If you use the standard ProxyStub ({00020424...}) These entries are not required.

I need to do some more investigation before adding this filtering to our product. I know at one point we did filter these, and then made a decision to not filter them.

I do not believe it does any harm to leave these entries in the registry table. However it does contribute to MSI bloat.

Thanks for the feedback.