We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

How can I read or write files?

From NSIS Wiki
Jump to navigationJump to search

Use FileOpen, FileRead, FileWrite, FileSeek, and FileClose to manipulate files.

You can find a small example showing how to replace a line here.

Note that if INI files are in the question, it might be easier to use WriteINIStr, ReadINIStr, DeleteINIStr, and DeleteINISec.