I want to add some registry using WiX installer. Here's my code:
<DirectoryRef Id="TARGETDIR">
<Component Id="DisableWeakCipherSuites" Guid="7DBE2D50-3C00-4CEF-86CC-897C0C96E7FF" KeyPath="yes">
<RegistryKey Key="SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128" Root="HKLM" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Enabled" Value="0" Type="integer" />
</RegistryKey>
<RegistryKey Key="SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168" Root="HKLM" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Enabled" Value="0" Type="integer" />
</RegistryKey>
<RegistryKey Key="SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 128/128" Root="HKLM" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Enabled" Value="0" Type="integer" />
</RegistryKey>
<RegistryKey Key="SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128" Root="HKLM" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Enabled" Value="0" Type="integer" />
</RegistryKey>
</Component>
</DirectoryRef>
But instead of adding these keys into CurrentControlSet, installer adds those keys into ControlSet001.