DeleteRegKey /ifempty now also checks for values
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7166 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2fa5cd37b8
commit
821b4d6a18
8 changed files with 41 additions and 21 deletions
|
@ -12,6 +12,8 @@ Released on ? ?th, 2020
|
|||
|
||||
\S2{} Major Changes
|
||||
|
||||
\b \cw{DeleteRegKey /ifempty} now also checks for values, not just subkeys. Use \cw{/ifnosubkeys} for the old behavior.
|
||||
|
||||
\b Added \R{getknownfolderpath}{GetKnownFolderPath}
|
||||
|
||||
\S2{} Minor Changes
|
||||
|
|
|
@ -29,9 +29,9 @@ Deletes the string str_name from section [section_name] from ini_filename. If th
|
|||
|
||||
\S2{deleteregkey} DeleteRegKey
|
||||
|
||||
\c [/ifempty] root_key subkey
|
||||
\c [/ifempty | /ifnosubkeys | /ifnovalues] root_key subkey
|
||||
|
||||
Deletes a registry key. If /ifempty is specified, the registry key will only be deleted if it has no subkeys (otherwise, the whole registry tree will be removed). Valid values for root_key are listed under \R{writeregstr}{WriteRegStr}. The error flag is set if the key could not be removed from the registry (or if it didn't exist to begin with).
|
||||
Deletes a registry key. If /ifempty is specified, the registry key will only be deleted if it has no subkeys and no values (otherwise, the whole registry tree will be removed). Valid values for root_key are listed under \R{writeregstr}{WriteRegStr}. The error flag is set if the key could not be removed from the registry (or if it didn't exist to begin with).
|
||||
|
||||
\c DeleteRegKey HKLM "Software\My Company\My Software"
|
||||
\c DeleteRegKey /ifempty HKLM "Software\A key that might have subkeys"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue