Old 6th October 2005, 21:36   #1
smatte
Junior Member
 
Join Date: Aug 2005
Location: Québec
Posts: 19
Question 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?
smatte is offline   Reply With Quote
Old 6th October 2005, 22:03   #2
Jamyn
Junior Member
 
Join Date: Aug 2002
Location: Texas
Posts: 36
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?
Jamyn is offline   Reply With Quote
Old 7th October 2005, 09:09   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
If you create a shortcut to it in the installer, add a parameter of _?=$INSTDIR

-Stu
Afrow UK is offline   Reply With Quote
Old 7th October 2005, 15:21   #4
smatte
Junior Member
 
Join Date: Aug 2005
Location: Québec
Posts: 19
Thanks i'll use that parameter when I call the uninstaller from my other application.
smatte is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump