How can I delete a registry value ? I have tried to add the deletevalue
flag to my [Registry]
entry but after executing the setup, the value gets re-created.
Can anyone show me how to delete a registry value ?
How can I delete a registry value ? I have tried to add the deletevalue
flag to my [Registry]
entry but after executing the setup, the value gets re-created.
Can anyone show me how to delete a registry value ?
I found a solution in this question. Except using deletevalue
I've needed to specify none
value for the ValueType
parameter of my [Registry]
entry. So, something like this:
[Registry]
Root: HKLM; Subkey: "Software\Microsoft\Windows NT\CurrentVersion\Audit"; ValueName: "MyValueName"; ValueType: none; Flags: deletevalue;