DeleteINIStr and DeleteINISec do set the error flag if there was an error, but not if the key or string were not there before.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3087 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-11-01 21:46:32 +00:00
parent 2f48bf615d
commit 5c6fbf8745

View file

@ -6,13 +6,13 @@ In all of the below registry instructions use an empty string (just two quotes w
\c ini_filename section_name \c ini_filename section_name
Deletes the entire section [section_name] from ini_filename. The error flag is \e{not} set if the section could not be removed from the ini file Deletes the entire section [section_name] from ini_filename. If the section could not be removed from the ini file, the error flag is set. It does not set the error flag if the section could not be found.
\S2{deleteinistr} DeleteINIStr \S2{deleteinistr} DeleteINIStr
\c ini_filename section_name str_name \c ini_filename section_name str_name
Deletes the string str_name from section [section_name] from ini_filename. The error flag is \e{not} set If the string could not be removed from the ini file. Deletes the string str_name from section [section_name] from ini_filename. If the string could not be removed from the ini file, the error flag is set. It does not set the error flag if the string could not be found.
\S2{deleteregkey} DeleteRegKey \S2{deleteregkey} DeleteRegKey