Archive: Bloc uninstaller from copying itself


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? :rolleyes:


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?


If you create a shortcut to it in the installer, add a parameter of _?=$INSTDIR

-Stu


Thanks i'll use that parameter when I call the uninstaller from my other application.