Why file extension registries get added by default to HKCR? RRS feed

  • Question

  • I am msi developer. In msi whenever we add registry comdata, it is preferred that, we should add it to HKCR. Is there any reason why we add it to HKCR? and not to HKLM? Even if we add it to HKLM, it reflects in HKCR.
    Friday, February 10, 2012 4:15 PM

All replies

  • Maybe this one helps.



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Friday, February 10, 2012 4:23 PM
  • Can anyone described the same in simpler way?
    Monday, February 13, 2012 4:59 AM
  • On Mon, 13 Feb 2012 04:59:34 +0000, MadForMsi wrote:

    Can anyone described the same in simpler way?


    HKCR is not an actual storage location but rather a combined view of
    HKLM\Software\Classes and HKCU\Software\Classes.

    That's about as simple as it gets.

    Paul Adare
    MVP - Forefront Identity Manager
    No line available at 300 baud.

    Monday, February 13, 2012 5:06 AM
  • I understood this point:- "Even if we add it to HKLM, it reflects in HKCR." because HKCR is replica of HKLM+HKCU, but why it is preferred to import registries to HKCR? why can't HKLM? Even if we capture comdat of any dll or ocs, in the reg file w get all the registries of HKCR. Why developers prefer HKCR, nd not HKLM?
    Monday, February 13, 2012 5:19 AM