From 774a70ae93113aaaa84c3acb8291c6a8c8c7b7a5 Mon Sep 17 00:00:00 2001 From: anders_k Date: Tue, 15 Jun 2021 16:56:33 +0000 Subject: [PATCH] Added REBOOTOK volume warning git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7272 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 6ed3e687..7d387f42 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -8,7 +8,7 @@ The instructions that NSIS uses for scripting are sort of a cross between PHP an \c [/REBOOTOK] file -Delete file (which can be a file or wildcard, but should be specified with a full path) from the target system. If /REBOOTOK is specified and the file cannot be deleted then the file is deleted when the system reboots -- if the file will be deleted on a reboot, the reboot flag will be set. The error flag is set if files are found and cannot be deleted. The error flag is not set when trying to delete a file that does not exist. +Delete file (which can be a file or wildcard, but should be specified with a full path) on the target system. If /REBOOTOK is specified and the file cannot be deleted then the file is deleted when the system reboots -- if the file will be deleted on a reboot, the reboot flag will be set. The error flag is set if files are found and cannot be deleted. The error flag is not set when trying to delete a file that does not exist. \c Delete $INSTDIR\somefile.dat @@ -123,6 +123,10 @@ If no absolute path is specified the current folder will be used. The current fo \\Warning:\\ The /REBOOTOK switch requires administrator rights on Windows NT and later. \NsisWarnBlockContainerEnd +\NsisWarnBlockContainerBegin +\\Warning:\\ Files cannot be moved from one drive to another if a reboot is required. +\NsisWarnBlockContainerEnd + \S2{reservefile} ReserveFile \c [/nonfatal] [/r] [/x file|wildcard [...]] file [file...] | [/nonfatal] /plugin file.dll