Skip to content
⌘ NSIS Forum Archive

New uninstall script from log

6 posts

darthvader#edited

New uninstall script from log

I have created a new script for uninstallation from log created by special(logging) builds from NSIS.Please include the attached file and In the uninstall section of your script have the following calls

Call un.CreateLogFromFile
Call un.RemoveDirectoriesFromLog

During Installation have the LogSet commands to log the files being copied.

Hope this script helps. Any suggestions, modifications are welcome 😉

Thanks to all the people who wrote StrLoc, Reversal of File functions 👍
Afrow UK#
For headers use ==Header==
Highlight code use <highlight-nsis></highlight-nsis>
Attaching files is <attach>File.zip</attach> (assuming you have uploaded File.zip already)

This needs to go at the top:
{{PageAuthor|darthvader}}

And this at the bottom:
[[Category:Related Software]]

Stu