Registry Keys in a MSI Component
Here are some component guidelines which you need to follow in your application MSI. This will solve many issues like installation fix and automatic package repairs.
Always remember,
- HKLM + HKCU in same component are not allowed
- HKCR + HKCU in same component are not allowed
- HKCU + Files in same component are not allowed. (Exception where the files are going to user profiles and key path is HKCU key path)
Also, when you design a custom component having HKCR or HKLM components, do check the Auto increment option; this helps the machine maintain a stable state.
