Uninstall text in the UI macros

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@835 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-29 19:48:16 +00:00
parent 4273255cc6
commit 34a538916e
5 changed files with 17 additions and 18 deletions

View file

@ -339,7 +339,7 @@ Section -post
nofunshit:
Delete $INSTDIR\uninst-nsis.exe
WriteUninstaller $INSTDIR\uninst-nsis.exe
!insertmacro MUI_FINISHHEADER
!insertmacro MUI_FINISHHEADER SetHeader
SectionEnd
Function .onInstSuccess
@ -535,8 +535,7 @@ Section Uninstall
IfFileExists $INSTDIR 0 Removed
MessageBox MB_OK|MB_ICONEXCLAMATION "Note: $INSTDIR could not be removed."
Removed:
IntOp ${CURRENTPAGE} ${CURRENTPAGE} + 1
Call un.SetHeader
!insertmacro MUI_FINISHHEADER un.SetHeader
SectionEnd
Function un.onNextPage