updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4181 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7140aeede2
commit
7e2442e17e
4 changed files with 64 additions and 66 deletions
|
@ -100,7 +100,7 @@ Function ShowCustom
|
|||
StrCpy $GETBASENAME1 'C:\path\file.dll'
|
||||
StrCpy $GETFILEEXT1 'C:\path\file.dll'
|
||||
StrCpy $BANNERTRIMPATH1 'C:\Server\Documents\Terminal\license.htm'
|
||||
StrCpy $BANNERTRIMPATH2 '35A'
|
||||
StrCpy $BANNERTRIMPATH2 '34A'
|
||||
StrCpy $DIRSTATE1 '$TEMP'
|
||||
|
||||
GetDlgItem $1 $HWND 1203
|
||||
|
|
|
@ -451,6 +451,18 @@ Section BannerTrimPath
|
|||
${BannerTrimPath} 'C:\12\3456\789' '11C' $OUT1
|
||||
StrCmp $OUT1 'C:\12\34...' 0 error
|
||||
|
||||
${BannerTrimPath} 'C:\12\3456\789' '9D' $OUT1
|
||||
StrCmp $OUT1 'C:\12\...' 0 error
|
||||
|
||||
${BannerTrimPath} 'C:\12\3456\789' '10D' $OUT1
|
||||
StrCmp $OUT1 'C:\...\789' 0 error
|
||||
|
||||
${BannerTrimPath} 'C:\12\3456\789' '11D' $OUT1
|
||||
StrCmp $OUT1 'C:\1...\789' 0 error
|
||||
|
||||
${BannerTrimPath} '123456789' '5D' $OUT1
|
||||
StrCmp $OUT1 '12...' 0 error
|
||||
|
||||
goto +2
|
||||
error:
|
||||
SetErrors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue