Does anyone know the best method for writing an empty Registry key under
HKCU? This code isn't cutting it:

*<ComponentGroup Id="ProductComponents" Directory="PersonalFolder">
      <Component Id="CMP_RegistryWrite"
Guid="{3BF28DC8-4AFC-43E8-B605-AA6456B06921}">
        <RegistryKey
               Root="HKCU"
               Key="Software\CompanyABC" 
               ForceCreateOnInstall="yes">
        </RegistryKey>
      </Component>
</ComponentGroup>*

I am getting: ICE38: Component CMP_RegistryWrite installs to user profile.
It must use a registry key under HKCU as its KeyPath, not a file.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-empty-registry-key-under-HKCU-tp7579893.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to