Minor doc update

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7238 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-11-02 22:51:31 +00:00
parent 53382bf06f
commit 9bb875bd84
3 changed files with 8 additions and 8 deletions

View file

@ -27,9 +27,9 @@ Execute the specified program and continue immediately. Note that the file speci
\S2{execshell} ExecShell
\c [/INVOKEIDLIST] action command [parameters] [SW_SHOWDEFAULT | SW_SHOWNORMAL | SW_SHOWMAXIMIZED | SW_SHOWMINIMIZED | SW_HIDE]
\c [/INVOKEIDLIST] action file [parameters] [SW_SHOWDEFAULT | SW_SHOWNORMAL | SW_SHOWMAXIMIZED | SW_SHOWMINIMIZED | SW_HIDE]
Execute the specified program using ShellExecuteEx. Note that action is usually "open", "print", etc, but can be an empty string to use the default action. Parameters and the show type are optional. $OUTDIR is used as the working directory. The error flag is set if the process could not be launched.
Execute the specified file using ShellExecuteEx. Note that action is usually "open", "print", etc, but can be an empty string to use the default action. Parameters and the show type are optional. $OUTDIR is used as the working directory. The error flag is set if the process could not be launched.
\c ExecShell "open" "http://nsis.sf.net/"
\c ExecShell "" "$SysDir\Notepad.exe" "" SW_SHOWMAXIMIZED
@ -38,9 +38,9 @@ Execute the specified program using ShellExecuteEx. Note that action is usually
\S2{execshellwait} ExecShellWait
\c [/INVOKEIDLIST] action command [parameters] [SW_SHOWDEFAULT | SW_SHOWNORMAL | SW_SHOWMAXIMIZED | SW_SHOWMINIMIZED | SW_HIDE]
\c [/INVOKEIDLIST] action file [parameters] [SW_SHOWDEFAULT | SW_SHOWNORMAL | SW_SHOWMAXIMIZED | SW_SHOWMINIMIZED | SW_HIDE]
Execute the specified program using ExecShell and wait for executed process to quit. It will only wait for executable files, not other file types nor URLs.
Execute the specified file using ExecShell and wait for executed process to quit. It will only wait for executable files, not other file types nor URLs.
\S2{execwait} ExecWait

View file

@ -23,8 +23,8 @@ If you don't do this, you'll only be able to know if the uninstaller failed copy
\H{useful_add_uninst_infos}Add uninstall information to Add/Remove Programs
Create a key with your product name under HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall to add entries to the "Add/Remove Programs" section in the Control Panel.
For Windows NT (NT4/2000/XP), it's also possible to create the key in the HKCU hive, so it will only appear for the current user.
Create a key with your product name (or a GUID) under HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall to add entries to the "Add/Remove Programs" section in the Control Panel.
For Windows NT (NT4/2000/XP and later), it's also possible to create the key in the HKCU hive, so it will only appear for the current user.
There are several values you can write to key to give information about your application and the uninstaller.
Write a value using the \R{writeregstr}{WriteRegStr} command (for strings) or \R{writeregdword}{WriteRegDWORD} command (for DWORD values).