- NSIS Discussion
- Name in welcome page
Archive: Name in welcome page
KirillKr
14th February 2004 23:50 UTC
Name in welcome page
Hi. I have some question.
1. On the welcome page AppName if FULL NAME with version and much installers not correctly show this, for example name showing, but version under welcome text.
How I can change to NAME without version?
2. How I can add readme page before license page?
3. How I can add "start menu" page?
Joost Verburg
15th February 2004 00:06 UTC
For information about text settings and pages, please see the Modern UI Readme (there is a link on the Quick Launch page of the NSIS Menu).
There are also examples available that show pages like Start Menu.
KirillKr
15th February 2004 06:26 UTC
Ok. I find answers.
1.
!define MUI_COMPONENTSPAGE_SMALLDESC
3. Why this code
Var STARTMENU_FOLDER
!insertmacro MUI_PAGE_STARTMENU "Application" $STARTMENU_FOLDER
ask me create start menu page with my real Application name (not "Application")? This code from readme and not changed. I not define
Application
How I get folder, wich user write for shortcut?
2. Not found
KirillKr
15th February 2004 06:35 UTC
Sorry, on question 3th I found example.
Joost Verburg
15th February 2004 11:48 UTC
To display a Readme file use a license page.
rjstephens
15th February 2004 12:29 UTC
This is a piece of code I whipped up a while back for displaying a notes page.
!define MUI_PAGE_HEADER_TEXT "Information"
!define MUI_PAGE_HEADER_SUBTEXT "Please read the following important information before continuing."
!define MUI_LICENSEPAGE_TEXT_TOP "When you are ready to continue with Setup, click Next."
!define MUI_LICENSEPAGE_TEXT_BOTTOM " "
!define MUI_LICENSEPAGE_BUTTON "Next >"
!insertmacro MUI_PAGE_LICENSE "C:\notes.txt"
(This code is Modern UI only.)
put it before or after the !insertmacro MUI_PAGE_LICENSE, depending on whether you want the notes to appear before or after the license agreement.
Joost Verburg
15th February 2004 12:48 UTC
For the next button text you can also use $(^NextBtn)
KirillKr
15th February 2004 22:04 UTC
Originally posted by rjstephens
This is a piece of code I whipped up a while back for displaying a notes page.
!define MUI_PAGE_HEADER_TEXT "Information"
!define MUI_PAGE_HEADER_SUBTEXT "Please read the following important information before continuing."
!define MUI_LICENSEPAGE_TEXT_TOP "When you are ready to continue with Setup, click Next."
!define MUI_LICENSEPAGE_TEXT_BOTTOM " "
!define MUI_LICENSEPAGE_BUTTON "Next >"
!insertmacro MUI_PAGE_LICENSE "C:\notes.txt"
(This code is Modern UI only.)
put it before or after the !insertmacro MUI_PAGE_LICENSE, depending on whether you want the notes to appear before or after the license agreement.
Normal License after will be show normal? Or I must reenter variables?
I want show
Welcome
Readme
License
Directory
...
rjstephens
16th February 2004 07:43 UTC
I don't think you need to reset the variables. But then again i'm not 100% sure - NSIS was like rc2 or something when I wrote that code, and it might have changed since then.
KirillKr
16th February 2004 09:17 UTC
Originally posted by rjstephens
I don't think you need to reset the variables. But then again i'm not 100% sure - NSIS was like rc2 or something when I wrote that code, and it might have changed since then.
Yes, It's work.
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_HEADER_TEXT "Information"
!define MUI_PAGE_HEADER_SUBTEXT "Please read the following important information before continuing."
!define MUI_LICENSEPAGE_TEXT_TOP "When you are ready to continue with Setup, click Next."
!define MUI_LICENSEPAGE_TEXT_BOTTOM " "
!define MUI_LICENSEPAGE_BUTTON "Next >"
!insertmacro MUI_PAGE_LICENSE "readme.txt"
;!define MUI_LICENSEPAGE_RADIOBUTTONS
!define MUI_LICENSEPAGE_CHECKBOX
!insertmacro MUI_PAGE_LICENSE "License.txt"
This topic closed.