Old 10th August 2007, 17:22   #1
Anjali
Junior Member
 
Join Date: May 2006
Posts: 5
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.
Anjali is offline   Reply With Quote
Old 10th August 2007, 17:49   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Modern UI is for the NSIS installers, not the build system.

Stu
Afrow UK is offline   Reply With Quote
Old 10th August 2007, 17:58   #3
DariTo
Junior Member
 
Join Date: Aug 2007
Posts: 7
You mean like making your installer look modern??
DariTo is offline   Reply With Quote
Old 10th August 2007, 18:09   #4
Anjali
Junior Member
 
Join Date: May 2006
Posts: 5
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.
Anjali is offline   Reply With Quote
Old 10th August 2007, 18:22   #5
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
None such wizard comes with NSIS.
You can take a look at the Related Software category though.

Stu
Afrow UK is offline   Reply With Quote
Old 10th August 2007, 19:48   #6
DariTo
Junior Member
 
Join Date: Aug 2007
Posts: 7
Ya, NSIS Installer comes with the compiler, documentation and some extra stuff, but nothing like a wizard
DariTo is offline   Reply With Quote
Old 12th August 2007, 22:03   #7
bl4d3
Junior Member
 
Join Date: Jul 2007
Posts: 16
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:

PHP Code:
!define APPNAME "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 
bl4d3 is offline   Reply With Quote
Old 13th August 2007, 04:19   #8
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
@ Anjali

Take a look on this,

http://nsis.sourceforge.net/NSIS_Qui...ript_Generator

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump