Custom uninstaller page

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1808 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-21 22:36:38 +00:00
parent 53b51de8e6
commit 756dc79365

View file

@ -78,12 +78,19 @@ UninstallText "Another page..."
; Uninstall pages
UninstPage uninstConfirm un.uninstImage
UninstPage custom un.customPage
UninstPage instfiles un.instImage
Function un.uninstImage
!insertmacro BIMAGE "${NSISDIR}\Contrib\Icons\checksX.bmp" /RESIZETOFIT
FunctionEnd
Function un.customPage
!insertmacro BIMAGE "${NSISDIR}\Contrib\Icons\modern.bmp" /RESIZETOFIT
MessageBox MB_OK 'This is a nice uninstaller custom "page" with yet another image :P'
#insert install options/start menu/<insert plugin name here> here
FunctionEnd
Function un.instImage
!insertmacro BIMAGE "${NSISDIR}\Contrib\Icons\jarsonic-checks.bmp" /RESIZETOFIT
FunctionEnd