Skip to content
⌘ NSIS Forum Archive

Modern User Interface 1.6

46 posts

Joost Verburg#
Yep, but you don't need to use them in the Modern UI. The Modern UI macro's use " to separate parameters.
RIV@NVX#
C:\Program Files\NSIS\Contrib\Modern UI\Readme.html

There is no second image which is in HTML file, but not in directory.

Removed or should be there?
virtlink#
Since working with the Modern-UI is much different than working with 'normal' NSIS scripting, I suggest that you add an extra chapter to the manual about working with the Modern-UI. How to write strings (with or without `, ', ", $/", etc..), how to change the things that normally can be changed by 'standard' NSIS instructions etc..
Yathosho#
can i still use older versions of ModernUI, by keeping the old files?

if so, do i need any other files than WinMessages.nsh and ModernUI.nsh (will rename them of course, so they dont get overwritten)?

could there be compilation errors if i keep ModernUI 1.4?
Joost Verburg#
You can still use 1.4 if you keep all the files (macros, graphics, examples). Older versions are not compatble with beta 0.

But there are quite some bugs in version 1.4 which have been fixed later, so upgrading is really recommanded. You only have to make some very small changes.

Other example scripts like makensis.nsi also won't work with 1.4.
Yathosho#
well, the only reason why i prefer the old ModernUI is the description for components. the current version displays the discription below the sections, which i dont really like. the "compressed" look of this is a bit of an unlucky solution i think.
Joost Verburg#
That's just an alternative interface for installers with a lot of sections (like the NSIS installer).

The default Modern UI (modern.exe) is still the same. The are two alternative versions, the one NSIS uses and another one without a description area.

You can find all details in the Readme (Contrib\Modern UI\Readme.html).
Yathosho#
;User interface
!insertmacro MUI_INTERFACE "modern.exe" "adni18-installer-C-no48xp.ico" "adni18-uninstall-C-no48xp.ico" "modern.bmp" "smooth"



i couldn't find a comparable line in the new examples. when i used "Icon blabla.ico" it still showed me the standard icon. i used examples/modernui/basic.nsi

how do i change the icons?
Yathosho#
OH! i didnt see there exists a documentation for ModernUI now. so, again i take back my previous question!

good work, joost!