Install Options with Modern UI Question
This my new order page in runtime that I want:
[list=1]
1. Welcome Page
2. License
3. My custome page
4. Components
5. Directory
...[/list=1]
Compiles great, but the order in runtime is not the same:
1. My custome page
2. Welcome Page
3. License
4. Components
...
This is part of my new code:
!define MUI_PRODUCT "Test Software"
!define MUI_VERSION "1.0"
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe"
!define ResDir "C:\joelito\utilidades\NsisResDir"
!define MUI_CHECKBITMAP "${NSISDIR}\Contrib\Icons\modern.bmp"
!define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Icons\modern-wizard.bmp"
!define MUI_WELCOMEPAGE
!define MUI_LICENSEPAGE
Page custom Inicio ": Pantalla de inicio"
!define MUI_COMPONENTSPAGE
!define MUI_DIRECTORYPAGE
!define MUI_FINISHPAGE
!include "MUI.nsh"
!insertmacro MUI_SYSTEM
!insertmacro MUI_LANGUAGE "Spanish"
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"
OutFile "${MUI_PRODUCT}.exe"
LicenseData "${ResDir}\TODO.rtf"
Section "uno" he
DetailPrint "Uno"
SectionEnd
Section "dos" yo
DetailPrint "Dos"
SectionEnd
Function "Inicio"
InitPluginsDir
File /oname=$PLUGINSDIR\io.ini "${ResDir}\io.ini"
File /oname=$PLUGINSDIR\1_1.ico "${ResDir}\1_1.ico"
WriteIniStr $PLUGINSDIR\io.ini "Field 3" Text $PLUGINSDIR\1_1.ico
InstallOptions::dialog $PLUGINSDIR\io.ini
FunctionEnd
any ideas :igor: