Reference/DeleteRegValue: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "DeleteRegValue root_key subkey key_name Deletes a registry value. Valid values for root_key are listed under WriteRegStr. The error flag is set if th...")
 
No edit summary
 
Line 1: Line 1:
DeleteRegValue
=DeleteRegValue=


  root_key subkey key_name
  root_key subkey key_name

Latest revision as of 16:55, 25 November 2011

DeleteRegValue

root_key subkey key_name

Deletes a registry value. Valid values for root_key are listed under WriteRegStr. The error flag is set if the value could not be removed from the registry (or if it didn't exist to begin with).

DeleteRegValue HKLM "Software\My Company\My Software" "some value"