Archive: delete itself (installer)


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?


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


We have one in wiki ;)
http://nsis.sourceforge.net/SelfDel_plug-in


yea!!! tnx for plugin but i guess it should be built-in in next release ;)