removed custom page caption
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2283 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
92acc0dd32
commit
5d896158e7
2 changed files with 5 additions and 14 deletions
|
@ -365,22 +365,18 @@ insert ReserveFile commands. <a href="#ReserveFile">More info...</a></p>
|
|||
own page commands to set the order of the pages and the names of the page functions.
|
||||
For the normal Modern UI pages, insert one of the PAGECOMMAND macro's:</p>
|
||||
<pre class="margin">
|
||||
LangString TEXT_IO_WINDOWTITLE ": Install Options Page Title"
|
||||
|
||||
!insertmacro MUI_PAGECOMMAND_WELCOME
|
||||
!insertmacro MUI_PAGECOMMAND_LICENSE
|
||||
!insertmacro MUI_PAGECOMMAND_COMPONENTS
|
||||
!insertmacro MUI_PAGECOMMAND_DIRECTORY
|
||||
Page custom FunctionName $(TEXT_IO_WINDOWTITLE) ;A custom page
|
||||
Page custom FunctionName ;A custom page
|
||||
!insertmacro MUI_PAGECOMMAND_INSTFILES
|
||||
!insertmacro MUI_PAGECOMMAND_FINISH
|
||||
</pre>
|
||||
<p class="text">For the uninstaller:</p>
|
||||
<pre class="margin">
|
||||
LangString un.UNTEXT_IO_WINDOWTITLE ": Install Options Page Title"
|
||||
|
||||
!insertmacro MUI_UNPAGECOMMAND_CONFIRM
|
||||
UninstPage custom un.FunctionName $(UNTEXT_IO_WINDOWTITLE) ;A custom page
|
||||
UninstPage custom un.FunctionName ;A custom page
|
||||
!insertmacro MUI_UNPAGECOMMAND_INSTFILES
|
||||
</pre>
|
||||
<p class="text">Don't forget to define MUI_CUSTOMPAGECOMMANDS or
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
;Pages
|
||||
|
||||
!insertmacro MUI_PAGECOMMAND_LICENSE
|
||||
Page custom SetCustomA "$(TEXT_IO_PAGETITLE_A)"
|
||||
Page custom SetCustomB "$(TEXT_IO_PAGETITLE_B)"
|
||||
Page custom SetCustomA
|
||||
Page custom SetCustomB
|
||||
!insertmacro MUI_PAGECOMMAND_COMPONENTS
|
||||
!insertmacro MUI_PAGECOMMAND_DIRECTORY
|
||||
Page custom SetCustomC "$(TEXT_IO_PAGETITLE_C)"
|
||||
Page custom SetCustomC
|
||||
!insertmacro MUI_PAGECOMMAND_INSTFILES
|
||||
|
||||
;--------------------------------
|
||||
|
@ -60,11 +60,6 @@
|
|||
;Header
|
||||
LangString TEXT_IO_TITLE ${LANG_ENGLISH} "InstallOptions Page"
|
||||
LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "Create your own dialog!"
|
||||
|
||||
;Window titles
|
||||
LangString TEXT_IO_PAGETITLE_A ${LANG_ENGLISH} ": Custom Page A"
|
||||
LangString TEXT_IO_PAGETITLE_B ${LANG_ENGLISH} ": Custom Page B"
|
||||
LangString TEXT_IO_PAGETITLE_C ${LANG_ENGLISH} ": Custom Page C"
|
||||
|
||||
;--------------------------------
|
||||
;Data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue