Minor documentation fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7081 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bd5d47cbae
commit
161e81c2f5
4 changed files with 5 additions and 5 deletions
|
@ -187,7 +187,7 @@ DetailPrint $4
|
|||
|
||||
<p><i>PARAMS</i>, <i>RETURN</i> and <i>OPTIONS</i> can be repeated many times in one Get/Call line. When repeating, a lot can be omitted, and only what you wish to change can be used. <i>Type</i>, <i>source</i> and/or <i>destination</i> can be omitted for each parameter, even the return value. Options can be added or removed. This allows you to define function prototypes and save on some typing. The <a href="#repeat">last two examples</a> show this.</p>
|
||||
|
||||
<p><i>PROC</i> can also be repeated but must be prefixed with a hash sign (`#') except if the hash sign is preceded by a double colon (<code>shell32::#18</code>).</p>
|
||||
<p><i>PROC</i> can also be <a href="#repeatproc">repeated</a> but it must be prefixed with a hash sign (`#') except if the hash sign is preceded by a double colon (<code>shell32::#18</code>) in which case it is interpreted as a function ordinal.</p>
|
||||
|
||||
<h4>Possible <i>PROC</i> Values and Meanings</h4>
|
||||
|
||||
|
@ -617,7 +617,7 @@ System::<b>Call</b> "${MB}(,'another message',,) i.r0"
|
|||
MessageBox MB_OK "last call returned $0"
|
||||
</pre></blockquote>
|
||||
<blockquote><pre>
|
||||
System::<b>Call</b> "user32::SendMessage(p $HWNDPARENT, t 'test', t 'test', p 0) p.s ? \
|
||||
<a name="repeatproc"></a>System::<b>Call</b> "user32::SendMessage(p $HWNDPARENT, t 'test', t 'test', p 0) p.s ? \
|
||||
e (,t'test replacement',,) i.r0 ? !e #user32::MessageBox"
|
||||
DetailPrint $0
|
||||
ClearErrors
|
||||
|
|
|
@ -331,7 +331,7 @@ Specifies the output file that the MakeNSIS should write the installer to. This
|
|||
|
||||
\c [/OVERWRITE|/REPLACE] file restype resname [reslang]
|
||||
|
||||
Adds \cw{file} as a resource to the installer and uninstaller. \cw{restype} specifies the resource type and can be any string or # followed by a standard type or number. \cw{resname} must be # followed by a number. \cw{reslang} is optional and specifies the language id of the resource. Replacing standard NSIS resource are not supported, you should use \R{aicon}{Icon} and \R{achangeui}{ChangeUI} instead.
|
||||
Adds \cw{file} as a resource to the installer and uninstaller. \cw{restype} specifies the resource type and can be any string or # followed by a standard type or number. \cw{resname} must be # followed by a number. \cw{reslang} is optional and specifies the language id of the resource. Replacing standard NSIS resource is not supported, you should use \R{aicon}{Icon} and \R{achangeui}{ChangeUI} instead.
|
||||
|
||||
\c PEAddResource "myimage.bmp" "#2" "#1337"
|
||||
\c PEAddResource "mybonus.ico" "#Icon" "#200"
|
||||
|
|
|
@ -83,7 +83,7 @@ Note that, if used in installer code, this will only affect the installer, and i
|
|||
|
||||
\c sleeptime_in_ms
|
||||
|
||||
Pauses execution in the installer for sleeptime_in_ms milliseconds. sleeptime_in_ms can be a variable, e.g. "$0" or a number, i.e. "666".
|
||||
Pauses execution in the installer for sleeptime_in_ms milliseconds. sleeptime_in_ms can be a variable, e.g. "$0" or a number, i.e. "4321".
|
||||
|
||||
\c DetailPrint "sleeping..."
|
||||
\c Sleep 3000
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
; check if running on the NT family.
|
||||
;
|
||||
; ${If} ${AtLeastWin95}
|
||||
; ${And} ${AtMostWinME}
|
||||
; ${AndIf} ${AtMostWinME}
|
||||
; DetailPrint "Running 95, 98 or ME."
|
||||
; DetailPrint "Actually, maybe it's NT4?"
|
||||
; ${If} ${IsNT}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue