This one is ok.
This one is not ok right now. It never got value from ";SomeKey", I remembered old NSIS 2.0 do this code ok.ClearErrors
ReadINIStr $R2 "some.ini" "SomeSection" "SomeKey"
IfErrors +3
DeleteINIStr "some.ini" "SomeSection" "SomeKey"
WriteINIStr "some.ini" "SomeSection" ";Somekey" "$R2"
Is this a bug or something?ClearErrors
ReadINIStr $R2 "some.ini" "SomeSection" ";SomeKey"
IfErrors +3
DeleteINIStr "some.ini" "SomeSection" ";SomeKey"
WriteINIStr "some.ini" "SomeSection" "Somekey" "$R2"
I always used those way to temporary remark some line inside inifile successful, and now NSIS 2.12 can not do the second code.