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?
Name in welcome page
10 posts
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.
There are also examples available that show pages like Start Menu.
Ok. I find answers.
1.
How I get folder, wich user write for shortcut?
2. Not found
1.
3. Why this code!define MUI_COMPONENTSPAGE_SMALLDESC
ask me create start menu page with my real Application name (not "Application")? This code from readme and not changed. I not define ApplicationVar STARTMENU_FOLDER
!insertmacro MUI_PAGE_STARTMENU "Application" $STARTMENU_FOLDER
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.
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.
(This code is Modern UI only.)
!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"
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 rjstephensNormal License after will be show normal? Or I must reenter variables?
This is a piece of code I whipped up a while back for displaying a notes page.
(This code is Modern UI only.)
!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"
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.
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 rjstephensYes, It's work.
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.
This topic closed.
!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"