Contrib/ExperienceUI/XPUI.nsh
changeset 20 0e4433768c8e
parent 18 0f79de3ac304
child 25 adc5b05b4be2
equal deleted inserted replaced
19:6c9560a32dc7 20:0e4433768c8e
     1 ; NSIS ExperienceUI User Interface version 1.3.1
     1 ; NSIS ExperienceUI User Interface version 1.3.2
     2 ; Macro System and Main Logic
     2 ; Macro System and Main Logic
     3 ; Written by Dan Fuhry
     3 ; Written by Dan Fuhry
     4 
     4 
     5 ; Copyright © 2004-2006 Dan Fuhry
     5 ; Copyright © 2004-2009 Dan Fuhry
     6 ; Portions written by Joost Verburg
     6 ; Portions written by Joost Verburg
     7 ; Copyright © 2002-2004 Joost Verburg
     7 ; Copyright © 2002-2004 Joost Verburg
     8 
     8 
     9 ; This program is free software; you redistribute and/or modify it
     9 ; This program is free software; you redistribute and/or modify it
    10 ; under the terms of the zlib/libpng license.
    10 ; under the terms of the zlib/libpng license.
    31 
    31 
    32 !verbose push
    32 !verbose push
    33 !verbose ${XPUI_VERBOSE}
    33 !verbose ${XPUI_VERBOSE}
    34 
    34 
    35 !define XPUI_INCLUDED
    35 !define XPUI_INCLUDED
    36 !define XPUI_VERSION 1.3.1
    36 !define XPUI_VERSION 1.3.2
    37 
    37 
    38 !ifndef XPUI_SYSDIR
    38 !ifndef XPUI_SYSDIR
    39   !define XPUI_SYSDIR "${NSISDIR}\Contrib\ExperienceUI"
    39   !define XPUI_SYSDIR "${NSISDIR}\Contrib\ExperienceUI"
    40 !endif
    40 !endif
    41 
    41 
  2917 !insertmacro XPUI_PAGECOLOR_INIT 1000
  2917 !insertmacro XPUI_PAGECOLOR_INIT 1000
  2918 !insertmacro XPUI_PAGECOLOR_INIT 1006
  2918 !insertmacro XPUI_PAGECOLOR_INIT 1006
  2919 
  2919 
  2920 !insertmacro XPUI_INNERDIALOG_TEXT `$(XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_TOP)` 1006
  2920 !insertmacro XPUI_INNERDIALOG_TEXT `$(XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_TOP)` 1006
  2921 !insertmacro XPUI_INNERDIALOG_TEXT `$(XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_FOLDER)` 1029
  2921 !insertmacro XPUI_INNERDIALOG_TEXT `$(XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_FOLDER)` 1029
       
  2922 !ifndef XPUI_NOLOCK
       
  2923 LockWindow off
       
  2924 !endif
  2922 !insertmacro XPUI_PAGE_CUSTOMFUNCTION SHOW
  2925 !insertmacro XPUI_PAGE_CUSTOMFUNCTION SHOW
  2923 FunctionEnd
  2926 FunctionEnd
  2924 
  2927 
  2925 Function `un.XPUI.unc_NSIS.${XPUI_UNIQUEID}.leave`
  2928 Function `un.XPUI.unc_NSIS.${XPUI_UNIQUEID}.leave`
  2926 !insertmacro XPUI_PAGE_CUSTOMFUNCTION LEAVE
  2929 !insertmacro XPUI_PAGE_CUSTOMFUNCTION LEAVE