fixes: header text, 3 lines welcome/finish title, alternative comp page, docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3043 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8442558574
commit
4a9dac930a
3 changed files with 32 additions and 45 deletions
|
@ -277,7 +277,7 @@ will also help you to learn more about the Modern UI.</p>
|
||||||
The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.<br />
|
The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.<br />
|
||||||
<i>Default: smooth</i></p>
|
<i>Default: smooth</i></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="sub2header">Finish Page Interface Settings</p>
|
<p class="sub2header">Installer Finish Page Interface Settings</p>
|
||||||
<div class="margin">
|
<div class="margin">
|
||||||
<p class="text"><span class="bold">MUI_FINISHPAGE_NOAUTOCLOSE</span><br />
|
<p class="text"><span class="bold">MUI_FINISHPAGE_NOAUTOCLOSE</span><br />
|
||||||
Do not automatically jump to the finish page, to allow the user to
|
Do not automatically jump to the finish page, to allow the user to
|
||||||
|
@ -285,7 +285,7 @@ will also help you to learn more about the Modern UI.</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="sub2header">Uninstaller Finish Page Interface Settings</p>
|
<p class="sub2header">Uninstaller Finish Page Interface Settings</p>
|
||||||
<div class="margin">
|
<div class="margin">
|
||||||
<p class="text"><span class="bold">MUI_FINISHPAGE_NOAUTOCLOSE</span><br />
|
<p class="text"><span class="bold">MUI_UNFINISHPAGE_NOAUTOCLOSE</span><br />
|
||||||
Do not automatically jump to the finish page, to allow the user to
|
Do not automatically jump to the finish page, to allow the user to
|
||||||
check the uninstall log.</p>
|
check the uninstall log.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,11 +44,11 @@ Var MUI_TEMP2
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifndef MUI_UI_COMPONENTSPAGE_SMALLDESC
|
!ifndef MUI_UI_COMPONENTSPAGE_SMALLDESC
|
||||||
!define MUI_UI_SMALLDESC "${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
|
!define MUI_UI_COMPONENTSPAGE_SMALLDESC "${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifndef MUI_UI_COMPONENTSPAGE_NODESC
|
!ifndef MUI_UI_COMPONENTSPAGE_NODESC
|
||||||
!define MUI_UI_NODESCRIPTION "${NSISDIR}\Contrib\UIs\modern_nodesc.exe"
|
!define MUI_UI_COMPONENTSPAGE_NODESC "${NSISDIR}\Contrib\UIs\modern_nodesc.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifndef MUI_ICON
|
!ifndef MUI_ICON
|
||||||
|
@ -120,9 +120,9 @@ Var MUI_TEMP2
|
||||||
!endif
|
!endif
|
||||||
!endif
|
!endif
|
||||||
!ifdef MUI_COMPONENTSPAGE_SMALLDESC
|
!ifdef MUI_COMPONENTSPAGE_SMALLDESC
|
||||||
ChangeUI IDD_SELCOM "${MUI_UI_SMALLDESCRIPTION}"
|
ChangeUI IDD_SELCOM "${MUI_UI_COMPONENTSPAGE_SMALLDESC}"
|
||||||
!else ifdef MUI_COMPONENTSPAGE_NODESC
|
!else ifdef MUI_COMPONENTSPAGE_NODESC
|
||||||
ChangeUI IDD_SELCOM "${MUI_UI_NODESCRIPTION}"
|
ChangeUI IDD_SELCOM "${MUI_UI_COMPONENTSPAGE_NODESC}"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
Icon "${MUI_ICON}"
|
Icon "${MUI_ICON}"
|
||||||
|
@ -231,11 +231,11 @@ Var MUI_TEMP2
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT
|
!undef MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT
|
||||||
!else
|
!else
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_FINISHHEADER_TEXT}" ""
|
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_FINISHHEADER_TEXT}" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_SUBTITLE)"
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
||||||
!endif
|
!endif
|
||||||
!else
|
!else
|
||||||
!insertmacro MUI_HEADER_TEXT "$(MUI_TEXT_FINISH_TITLE)" "$(MUI_TEXT_FINISH_SUBTITLE)"
|
!insertmacro MUI_HEADER_TEXT "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_TITLE)" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_SUBTITLE)"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
Goto mui.finishheader_done
|
Goto mui.finishheader_done
|
||||||
|
@ -246,51 +246,16 @@ Var MUI_TEMP2
|
||||||
!ifdef MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT
|
!ifdef MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" "${MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT}"
|
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" "${MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT}"
|
||||||
!else
|
!else
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" ""
|
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_SUBTITLE)"
|
||||||
!endif
|
!endif
|
||||||
!else
|
!else
|
||||||
!insertmacro MUI_HEADER_TEXT "$(MUI_TEXT_ABORT_TITLE)" "$(MUI_TEXT_ABORT_SUBTITLE)"
|
!insertmacro MUI_HEADER_TEXT "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_ABORT_TITLE)" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_SUBTITLE)"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
mui.finishheader_done:
|
mui.finishheader_done:
|
||||||
|
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
!macro MUI_UNFINISHHEADER
|
|
||||||
|
|
||||||
IfAbort mui.finishheader_abort
|
|
||||||
|
|
||||||
!ifdef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
|
||||||
!ifdef MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT
|
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_FINISHHEADER_TEXT}" "${MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT}"
|
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT
|
|
||||||
!else
|
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_FINISHHEADER_TEXT}" ""
|
|
||||||
!undef MUI_INSTFILESPAGE_FINISHHEADER_TEXT
|
|
||||||
!endif
|
|
||||||
!else
|
|
||||||
!insertmacro MUI_HEADER_TEXT "$(MUI_UNTEXT_FINISH_TITLE)" "$(MUI_UNTEXT_FINISH_SUBTITLE)"
|
|
||||||
!endif
|
|
||||||
|
|
||||||
Goto mui.finishheader_done
|
|
||||||
|
|
||||||
mui.finishheader_abort:
|
|
||||||
|
|
||||||
!ifdef MUI_INSTFILESPAGE_ABORTHEADER_TEXT
|
|
||||||
!ifdef MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT
|
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" "${MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT}"
|
|
||||||
!else
|
|
||||||
!insertmacro MUI_HEADER_TEXT "${MUI_INSTFILESPAGE_ABORTHEADER_TEXT}" ""
|
|
||||||
!endif
|
|
||||||
!else
|
|
||||||
!insertmacro MUI_HEADER_TEXT "$(MUI_UNTEXT_ABORT_TITLE)" "$(MUI_UNTEXT_ABORT_SUBTITLE)"
|
|
||||||
!endif
|
|
||||||
|
|
||||||
mui.finishheader_done:
|
|
||||||
|
|
||||||
!macroend
|
|
||||||
|
|
||||||
!macro MUI_ABORTWARNING
|
!macro MUI_ABORTWARNING
|
||||||
|
|
||||||
!ifdef MUI_ABORTWARNING_TEXT
|
!ifdef MUI_ABORTWARNING_TEXT
|
||||||
|
|
22
Contrib/Modern UI/ioSpecial3.ini
Normal file
22
Contrib/Modern UI/ioSpecial3.ini
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
[Settings]
|
||||||
|
Rect=1044
|
||||||
|
NumFields=3
|
||||||
|
[Field 1]
|
||||||
|
Type=bitmap
|
||||||
|
Left=0
|
||||||
|
Right=109
|
||||||
|
Top=0
|
||||||
|
Bottom=193
|
||||||
|
Flags=RESIZETOFIT
|
||||||
|
[Field 2]
|
||||||
|
Type=label
|
||||||
|
Left=120
|
||||||
|
Right=315
|
||||||
|
Top=10
|
||||||
|
Bottom=48
|
||||||
|
[Field 3]
|
||||||
|
Type=label
|
||||||
|
Left=120
|
||||||
|
Right=315
|
||||||
|
Top=55
|
||||||
|
Bottom=175
|
Loading…
Add table
Add a link
Reference in a new issue