it:ad:wix:howto:create_a_registry_key

IT:AD:WiX:HowTo:Create a Registry Key

Not that you should avoid seriously reconsider your app's design if you need to use registry keys, but just in case:

<Component Id="RegistryEntries" Guid="PUT-GUID-HERE">
    <RegistryKey Root="HKCU"
    Key="Software\Microsoft\MyApplicationName"
    Action="createAndRemoveOnUninstall">
    <RegistryValue Type="integer" Name="SomeIntegerValue" 
    Value="1" KeyPath="yes"/>
    <RegistryValue Type="string" Value="Default Value"/>
    </RegistryKey>
</Component>
  • /home/skysigal/public_html/data/pages/it/ad/wix/howto/create_a_registry_key.txt
  • Last modified: 2023/11/04 02:02
  • by 127.0.0.1