From b57f71ddaa0d31cefe0093a7d820234dd6aba0a6 Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 30 Dec 2016 00:52:24 +0000 Subject: [PATCH] Minor documentation fix (bug #919) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6833 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 0ad19076..a07dc4b4 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -140,7 +140,9 @@ 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. +\NsisWarnBlockContainerBegin +\\Warning:\\ Using \e{RMDir /r $INSTDIR} in the uninstaller is not safe. Though it is unlikely, the user might select to install to the root of the Program Files folder and this command would wipe out the entire Program Files folder, including all other installed programs! The user can also put other files in the installation folder and wouldn't expect them to get deleted along 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. +\NsisWarnBlockContainerEnd \S2{setoutpath} SetOutPath