Old 1st February 2007, 15:53   #1
original1
Junior Member
 
Join Date: Feb 2007
Posts: 1
deleting application created files

I have an installer that silently installs an application which creates a number of sub folders when it runs, these can be any number depending on thee assets it downloads remotely to the client machine.

I am trying to find a way to delete the sub directories and their contents in the uninstall section of the installer.

Maybe I am going blind but I can't find a way to do this the uninstaller deletes the top level but leaves the sub-directories, I want it to clean up completely

any pointers please?
original1 is offline   Reply With Quote
Old 1st February 2007, 16:11   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
RmDir /r "$INSTDIR" safe when $INSTDIR is locked on something like e.g. "$PROGRAMFILES\My Application",
risky when depended on user selection, none couldn't tell if some user has selected on select directory page something like e.g. Program Files without the appended application name, in this case the entire Program Files is going to be removed.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine 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