Archive: Delete a line from text file on uninstall


Delete a line from text file on uninstall
Hello all,

I want to add a line in a text file on installation, and on uninstallation, that particular line should be removed.

Currently I am inserting that line using 'FileWrite'. But I dont know how to remove that line on uninstall.

Please help.

-rohit


You can probably use the Text functions to find and delete the line.

-Dan


http://nsis.sourceforge.net/Docs/AppendixE.html#E.2.2