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"
|
||||
|
||||
StartMenu::Select /autoadd "StartMenu.dll test"
|
||||
Pop $R0
|
||||
Pop $R1
|
||||
|
||||
StrCpy $1 $R0 5
|
||||
StrCmp $1 "error" 0 +3
|
||||
StrCpy $R2 $R1 5
|
||||
StrCmp $R2 "error" 0 +3
|
||||
; error
|
||||
MessageBox MB_OK $R0
|
||||
MessageBox MB_OK $R1
|
||||
Return
|
||||
StrCmp $R0 "cancel" 0 +2
|
||||
StrCmp $R1 "cancel" 0 +2
|
||||
Quit
|
||||
StrCmp $R0 "back" 0 +2
|
||||
StrCmp $R1 "back" 0 +2
|
||||
Abort
|
||||
StrCpy $R0 $R1 ; got the dir
|
||||
FunctionEnd
|
||||
|
||||
Page instfiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue