Skip to content
⌘ NSIS Forum Archive

install with File /a /r "myFiles\*.*", how to uninstall

3 posts

xlrotor#

install with File /a /r "myFiles\*.*", how to uninstall

I use the following line to tell my installer what files to install, which includes several sub folders and their contents.
File /a /r "Files\*.*"

My folder tree with all its files does get duplicated during installation.

Can someone please point me to an example script that shows how to get the uninstaller to only delete files that were installed by the installer?

Thanks,

Brian Murphy
fabian.rap.more#
If you are looking to remove the whole directory then try this:

RmDir /r "$INSTDIR"
but you should know there are dangers in using it

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.