Archive: Writing to a drive


Writing to a drive
Assuming I have in a nsi script some code, which clean up the application and handle restoration of settings and related things after the closure of the program.

This code should contain the following instruction:

WriteINIStr $TEMP\something.ini section1 something 123
Accordingly after the first run of the app was written in the section1 of the file something.ini the key something with its value 123.

But does this also mean, that at every new run of the app the key something with its value 123 was written again in the section1 of the file something.ini, though this key and its appropriate value already exist after the first run of the app?

It will overwrite the entry if it already exists...