Skip to content
⌘ NSIS Forum Archive

Delete a line from text file on uninstall

3 posts

rohitajm#

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