Skip to content
⌘ NSIS Forum Archive

delete itself (installer)

4 posts

Saurman#

delete itself (installer)

Hello,

basically the task very simple:
i need to delete itself (installer) after it finishes installation.

Delete "$EXEPATH" ??? - nothing happens, seams coz its in use 🙁

any ideas?
Anders#
Create a batch file in $temp or $pluginsdir that loops untill its able to delete the exe, then it can delete itself

or craete a plugin or external program with the code examples from http://www.catch22.net/tuts/selfdel.asp