Contrib/ExperienceUI/XPUI.nsh
changeset 18 0f79de3ac304
parent 15 d3e8fdadd6d6
child 20 0e4433768c8e
equal deleted inserted replaced
17:26f838554c9e 18:0f79de3ac304
  2424   Function `${XPUI_UNFUNC}XPUI.FINISH.${XPUI_UNIQUEID}.show`
  2424   Function `${XPUI_UNFUNC}XPUI.FINISH.${XPUI_UNIQUEID}.show`
  2425   
  2425   
  2426     StrCmp $XPUI_ABORTED 1 0 +2
  2426     StrCmp $XPUI_ABORTED 1 0 +2
  2427       Abort
  2427       Abort
  2428     
  2428     
  2429     ; SET THE XPUI LOCAL REBOOT FLAG
  2429     ; Set the ExUI local reboot flag
  2430     StrCpy $XPUI_REBOOT 0
  2430     StrCpy $XPUI_REBOOT 0
  2431     
  2431     
  2432     !ifdef XPUI_${XPUI_UN}FINISHPAGE_REBOOT_FORCE
  2432     !ifdef XPUI_${XPUI_UN}FINISHPAGE_REBOOT_FORCE
  2433       StrCpy $XPUI_REBOOT 1
  2433       StrCpy $XPUI_REBOOT 1
  2434     !endif
  2434     !endif
  2500     !ifndef XPUI_FINISHPAGE_NOCLOSEBUTTON
  2500     !ifndef XPUI_FINISHPAGE_NOCLOSEBUTTON
  2501     SendMessage $XPUI_TEMP1 0xC 0 STR:$(XPUI_BUTTONTEXT_CLOSE)
  2501     SendMessage $XPUI_TEMP1 0xC 0 STR:$(XPUI_BUTTONTEXT_CLOSE)
  2502     !endif
  2502     !endif
  2503     GetDlgItem $XPUI_TEMP1 $HWNDPARENT 2
  2503     GetDlgItem $XPUI_TEMP1 $HWNDPARENT 2
  2504     SendMessage $XPUI_TEMP1 0xC `` `STR:$(^CancelBtn)`
  2504     SendMessage $XPUI_TEMP1 0xC `` `STR:$(^CancelBtn)`
       
  2505     !ifdef XPUI_${XPUI_UN}FINISHPAGE_CANCEL_ENABLE
  2505     EnableWindow $XPUI_TEMP1 1
  2506     EnableWindow $XPUI_TEMP1 1
       
  2507     !else
       
  2508     EnableWindow $XPUI_TEMP1 0
       
  2509     !endif
  2506     GetDlgItem $XPUI_TEMP1 $HWNDPARENT 3
  2510     GetDlgItem $XPUI_TEMP1 $HWNDPARENT 3
  2507     !ifdef XPUI_${XPUI_UN}FINISHPAGE_NO_REINSTALL
  2511     !ifdef XPUI_${XPUI_UN}FINISHPAGE_NO_REINSTALL
  2508       EnableWindow $XPUI_TEMP1 0
  2512       EnableWindow $XPUI_TEMP1 0
  2509     !endif
  2513     !endif
  2510     
  2514     
  2675   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_RUN
  2679   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_RUN
  2676   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_DOCS
  2680   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_DOCS
  2677   !insertmacro XPUI_UNSET XPUI_UNFINISHPAGE_CHECKBOX_RUN
  2681   !insertmacro XPUI_UNSET XPUI_UNFINISHPAGE_CHECKBOX_RUN
  2678   !insertmacro XPUI_UNSET XPUI_UNFINISHPAGE_CHECKBOX_DOCS
  2682   !insertmacro XPUI_UNSET XPUI_UNFINISHPAGE_CHECKBOX_DOCS
  2679   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_NOCLOSEBUTTON
  2683   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_NOCLOSEBUTTON
       
  2684   !insertmacro XPUI_UNSET XPUI_${XPUI_UN}FINISHPAGE_CANCEL_ENABLE
  2680   
  2685   
  2681   !undef XPUI_${XPUI_UN}FINISHPAGE_CAPTION
  2686   !undef XPUI_${XPUI_UN}FINISHPAGE_CAPTION
  2682   !undef XPUI_${XPUI_UN}FINISHPAGE_TITLE
  2687   !undef XPUI_${XPUI_UN}FINISHPAGE_TITLE
  2683   !undef XPUI_${XPUI_UN}FINISHPAGE_SUBTITLE
  2688   !undef XPUI_${XPUI_UN}FINISHPAGE_SUBTITLE
  2684   !undef XPUI_${XPUI_UN}FINISHPAGE_TEXT_TOP
  2689   !undef XPUI_${XPUI_UN}FINISHPAGE_TEXT_TOP