git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4181 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-07-21 17:01:32 +00:00
parent 7140aeede2
commit 7e2442e17e
4 changed files with 64 additions and 66 deletions

View file

@ -65,7 +65,7 @@ Call functions:
\c ; /B=0 - Banner isn't used (default)
\c ; /B=1 - Banner is used. Callback when function
\c ; start to search in new directory
\c "Function" ; Callback function then found
\c "Function" ; Callback function when found
\c
\c Function "Function"
\c ; $R9 "path\name"
@ -420,7 +420,7 @@ Call functions:
\c ; [ALL]
\c ; Find all drives by letter (default)
\c ;
\c "Function" ; Callback function then found
\c "Function" ; Callback function when found
\c
\c Function "Function"
\c ; $9 "drive letter" (a:\ c:\ ...)
@ -611,7 +611,7 @@ Call functions:
\S1{} GetExeName
\b Get installer filename (also valid case for Windows 9X).
\b Get installer filename (with valid case for Windows 9X/Me).
\\<b\\>Syntax:\\</b\\>
@ -626,7 +626,7 @@ Call functions:
\S1{} GetExePath
\b Get installer pathname ($EXEDIR with valid case for Windows 9X).
\b Get installer pathname ($EXEDIR with valid case for Windows 9X/Me).
\\<b\\>Syntax:\\</b\\>
@ -792,18 +792,20 @@ Call functions:
\c "[PathString]" ;
\c ;
\c "[Option]" ; [Lenght][A|B|C]
\c "[Option]" ; [Length][A|B|C|D]
\c ;
\c ; Lenght -Maximum string lenght
\c ; Length -Maximum string length
\c ; A -Trim center path (default)
\c ; (C:\root\...\third path)
\c ; If A mode not possible Then will be used B mode
\c ; If B mode not possible Then will be used C mode
\c ; B -Trim right path
\c ; (C:\root\second path\...)
\c ; If B mode not possible Then will be used C mode
\c ; C -Trim right string
\c ; (C:\root\second path\third p...)
\c ; D -Trim right string + filename
\c ; (C:\root\second p...\third path)
\c ; If D mode not possible Then will be used C mode
\c ;
\c $var ; Result: Trimmed path