Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
|||
Line 85:
===Script===
The NSIS compiler program ''makensis'' compiles scripts like the following example into executable installation programs. Each line in the script contains a single command.
<
# Example script
Name "Example1"
Line 95:
SetOutPath $INSTDIR
File ..\makensis.exe
SectionEnd</
===Modern user interface===
Version 2.0 introduced a new optional streamlined graphical user interface called ''Modern UI'' (MUI). The MUI has a wizard-like interface. It supports a welcome page, finish page, language selection dialog, description area for components, and greater customization options than the old user interface.
<
# Modern UI example script
!include MUI.nsh
Line 116:
SetOutPath $INSTDIR
File ..\makensis.exe
SectionEnd</
Since NSIS version 2.30 (Released on 25 August 2007) there is new version (beta) of this UI accessible: Modern UI 2 (MUI2) which is an enhancement to Modern UI. Unlike the old MUI this version is based on nsDialogs instead of old-fashioned InstallOptions .ini files.
|