Better back support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1634 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cd39ef3ace
commit
53dc3f3e35
1 changed files with 7 additions and 6 deletions
|
@ -22,17 +22,18 @@ Function StartMenuGroupSelect
|
||||||
SendMessage $HWNDPARENT ${WM_SETTEXT} 0 "STR:StartMenu.dll test Setup: Start Menu Folder"
|
SendMessage $HWNDPARENT ${WM_SETTEXT} 0 "STR:StartMenu.dll test Setup: Start Menu Folder"
|
||||||
|
|
||||||
StartMenu::Select /autoadd "StartMenu.dll test"
|
StartMenu::Select /autoadd "StartMenu.dll test"
|
||||||
Pop $R0
|
Pop $R1
|
||||||
|
|
||||||
StrCpy $1 $R0 5
|
StrCpy $R2 $R1 5
|
||||||
StrCmp $1 "error" 0 +3
|
StrCmp $R2 "error" 0 +3
|
||||||
; error
|
; error
|
||||||
MessageBox MB_OK $R0
|
MessageBox MB_OK $R1
|
||||||
Return
|
Return
|
||||||
StrCmp $R0 "cancel" 0 +2
|
StrCmp $R1 "cancel" 0 +2
|
||||||
Quit
|
Quit
|
||||||
StrCmp $R0 "back" 0 +2
|
StrCmp $R1 "back" 0 +2
|
||||||
Abort
|
Abort
|
||||||
|
StrCpy $R0 $R1 ; got the dir
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Page instfiles
|
Page instfiles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue