From 2dde70078951bc77aa8da6de0b724dac121c48ee Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 7 Apr 2006 11:00:22 +0000 Subject: [PATCH] implemented RFE #1464446 - Big warning about RmDir /r "$INSTDIR" please git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4644 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index eabd884b..150f2fcd 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -137,6 +137,8 @@ The next example will succeed in deleting the directory. \c SetOutPath $TEMP \c RMDir $TEMP\dir +\\Warning:\\ using \e{RMDir /r $INSTDIR} in the uninstaller is not safe. Though it is unlikely, the user might select to install to the Program Files folder and so this command will wipe out the entire Program Files folder, including other programs that has nothing to do with the uninstaller. The user can also put other files but the program's files and would expect them to get deleted with the program. Solutions are \W{http://nsis.sourceforge.net/Uninstall_only_installed_files}{available} for easily uninstalling only files which were installed by the installer. + \S2{setoutpath} SetOutPath \c outpath