LicenseText"Press Page Down to see the rest of the agreement."
LicenseData"License.txt"
;Component-select dialog
ComponentText"Check the components you want to install and uncheck the components you don't want to install. Click Next to continue."
;Folder-select dialog
InstallDir"$PROGRAMFILES\${NAME}"
DirText"Setup will install ${NAME} in the following folder.$\r$\n$\r$\nTo install in this folder, click Install. To install in a different folder, click Browse and select another folder."""
InstallButtonText"Next >";Install Options dialog has 'Install' button
;Uninstaller
UninstallText"This will uninstall ${NAME} from your system."
;--------------------------------
;Installer Sections
Section"Modern.exe"SecCopyUI
;Add your stuff here
SetOutPath"$INSTDIR"
File"${NSISDIR}\Contrib\UIs\modern.exe"
SectionEnd
Section"Create uninstaller"SecCreateUninst
;Add your stuff here
WriteUninstaller"$INSTDIR\Uninstall.exe"
SectionEnd
Section""
;Invisible section to display the Finish header
!insertmacroMUI_FINISHHEADERSetPage
SectionEnd
;--------------------------------
;Installer Functions
Function.onInit
;Init InstallOptions
!insertmacroMUI_INSTALLOPTIONS_INIT;Call this when using no plugins
!insertmacroMUI_INSTALLOPTIONS_EXTRACT"iniA.ini"
!insertmacroMUI_INSTALLOPTIONS_EXTRACT"iniB.ini"
FunctionEnd
Function.onInitDialog
!insertmacroMUI_INNERDIALOG_INIT
!insertmacroMUI_INNERDIALOG_START1
!insertmacroMUI_INNERDIALOG_TEXT10331040"If you accept all the terms of the agreement, choose I Agree to continue. If you choose Cancel, Setup will close. You must accept the agreement to install ${NAME}."