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
This commit is contained in:
anders_k 2017-06-24 19:28:37 +00:00
parent 88e2fd42d0
commit 5322e3413e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: