Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Bloc uninstaller from copying itself (http://forums.winamp.com/showthread.php?t=227826)

smatte 6th October 2005 21:36

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:

Jamyn 6th October 2005 22:03

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?

Afrow UK 7th October 2005 09:09

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

-Stu

smatte 7th October 2005 15:21

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


All times are GMT. The time now is 17:46.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.