Skip to content
⌘ NSIS Forum Archive

Create self-deleting setup

3 posts

coder13#

Create self-deleting setup

I need to create a setup that'll delete itself after the installation. Is it possible? I could use a batch file to do this. Is it possible to do this from the setup script?
I tried to delete the setup file and exit after that, but it doesnt work, because the setup file is used by the process at that time. I saw that it's possible to create a self-deleting exe in c++. Is it possible with nsis?

Please help me 🙂