Anjali
10th August 2007 18:22 UTC
Launch Modern UI
Hello,
I installed the latest version of NSIS on my machine with Modern UI option selected while installing. Everything went well but I don't understand how should I launch the Modern User Interface? It always takes me to the compiler interface.
Could someone help me out?
Thanks,
-Anjali.
Afrow UK
10th August 2007 18:49 UTC
Modern UI is for the NSIS installers, not the build system.
Stu
DariTo
10th August 2007 18:58 UTC
You mean like making your installer look modern??
Anjali
10th August 2007 19:09 UTC
What i mean is NSIS 2 makes it is possible to create installers with a custom user interface. The Modern UI is an interface with a style like the wizards of recent Windows versions.
This new interface also features new pages (Welcome, Finish, Start Menu) and a description area on the components page. The interface and the graphics can be customized using the provided settings.
Instead of opening a notepad and typing in the script, you can use this wizard like interface, point it to your install files and it generate a script for you. But how do I launch that UI?
You can find information in NSIS Modern UI Readme but it lists all the functions that can be used in Modern UI.
Afrow UK
10th August 2007 19:22 UTC
None such wizard comes with NSIS.
You can take a look at the Related Software category though.
Stu
DariTo
10th August 2007 20:48 UTC
Ya, NSIS Installer comes with the compiler, documentation and some extra stuff, but nothing like a wizard :)
bl4d3
12th August 2007 23:03 UTC
Afrow UK, didn't you mean: Development Environments
most of them have an integrated and easy to use wizard.
when you want to use the modern interface for your installer you should take the following code:
"My Application"
>!define APPNAMEANDVERSION "My Application 1"
>Name "${APPNAMEANDVERSION}"
>InstallDir "$PROGRAMFILES\My Application"
>InstallDirRegKey HKLM "Software\${APPNAME}" ""
>OutFile "Setup.exe"
>SetCompressor LZMA
>!include "MUI.nsh" // modern interface
>!define MUI_ABORTWARNING
>!insertmacro MUI_PAGE_WELCOME
>!insertmacro MUI_PAGE_COMPONENTS
>!insertmacro MUI_PAGE_DIRECTORY
>!insertmacro MUI_PAGE_INSTFILES
>!insertmacro MUI_PAGE_FINISH
>!insertmacro MUI_UNPAGE_CONFIRM
>!insertmacro MUI_UNPAGE_INSTFILES
>
Red Wine
13th August 2007 05:19 UTC
@ Anjali
Take a look on this,
http://nsis.sourceforge.net/NSIS_Qui...ript_Generator