From 5322e3413e8b3bf04729ac509eae980508eb9910 Mon Sep 17 00:00:00 2001 From: anders_k Date: Sat, 24 Jun 2017 19:28:37 +0000 Subject: [PATCH] Removed outdated tidbits from the documentation git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6877 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/ui.but | 2 +- Docs/src/usefulinfos.but | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/src/ui.but b/Docs/src/ui.but index 92f8e54c..0598f27f 100644 --- a/Docs/src/ui.but +++ b/Docs/src/ui.but @@ -42,7 +42,7 @@ Enables or disables mouse and keyboard input to the specified window or control. \c user_var(hwnd output) windowclass [windowtitle] [windowparent] [childafter] -Searches for a window. Behaves like Win32's FindWindowEx(). Searches by windowclass (and/or windowtitle if specified). If windowparent or childafter are specified, the search will be restricted as such. If windowclass or windowtitle is specified as "", they will not be used for the search. If the window is not found the user variable is set to 0. To accomplish old-style \R{findwindow}{FindWindow} behavior, use \R{findwindow}{FindWindow} with \R{sendmessage}{SendMessage}. +Searches for a window. Behaves like Win32's FindWindowEx(). Searches by windowclass (and/or windowtitle if specified). If windowparent or childafter are specified, the search will be restricted as such. If windowclass or windowtitle is specified as "", they will not be used for the search. If the window is not found the user variable is set to 0. \c FindWindow $1 "#32770" "" $HWNDPARENT # Finds the inner dialog \c FindWindow $2 "EDIT" "" $1 # Finds the first edit control in the inner dialog diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but index 6e21cc73..dc109df8 100644 --- a/Docs/src/usefulinfos.but +++ b/Docs/src/usefulinfos.but @@ -10,7 +10,7 @@ Like other applications, installers made by NSIS return error levels as a result \b 2 - Installation aborted by script -As of NSIS 2.01, you can set the error level to other values using \R{seterrorlevel}{SetErrorLevel}. +You can set the error level to other values using \R{seterrorlevel}{SetErrorLevel}. Note that uninstallers copy themselves to the temporary directory and execute from there so the original uninstaller can be deleted. This means the error level the uninstaller sets is not available to the executing process, unless it simulates this copy process and executes the copied uninstaller. To simulate this process, use: