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
This commit is contained in:
kichik 2006-04-07 11:00:22 +00:00
parent de26b43716
commit 2dde700789

View file

@ -137,6 +137,8 @@ The next example will succeed in deleting the directory.
\c SetOutPath $TEMP
\c RMDir $TEMP\dir
\\<b\\>Warning:\\</b\\> 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