Archive: Name in welcome page


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?


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.


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

Sorry, on question 3th I found example.


To display a Readme file use a license page.


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.

For the next button text you can also use $(^NextBtn)


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
...

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.


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.