Skip to content
⌘ NSIS Forum Archive

Bloc uninstaller from copying itself

4 posts

smatte#

Bloc uninstaller from copying itself

I want to find a way to avoid uninstaller from being copied in a temp directory when the user start "Uninst.exe". Is it possible or should I make an other installer that will delete my files? 🙄
Jamyn#
The uninstaller copies itself into a temporary directory and runs from there, so that if you delete the whole install directory (for example with "RMDir $INSTDIR" or something) - it won't fail due to the uninstaller file being "in use" in that directory. The temporary copy of the uninstaller should delete itself when finished. Is that not happening for you?