Ready 😁 Use $\" to add a double quote.
Modern User Interface 1.6
46 posts
Of course $\' and $\` work too...
Yep, but you don't need to use them in the Modern UI. The Modern UI macro's use " to separate parameters.
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?
There is no second image which is in HTML file, but not in directory.
Removed or should be there?
That file exists on CVS but I forgot to add it to the installer. Fixed 😁
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..
Everything is already in the Modern UI Readme (Contrib\Modern UI\Readme.html).
Didn't notice it before 😉 .
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?
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?
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.
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.
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.
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).
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).
please ignore my question then 😉
;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?
!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?
OH! i didnt see there exists a documentation for ModernUI now. so, again i take back my previous question!
good work, joost!
good work, joost!
Yep. For most installers, the easiest way is to modify the new Basic.nsi.