RickyLaBelleVie
23rd April 2004 12:59 UTC
How to use SMALLDESC (Modern UI)
Hello,
Before SMALLDESC option work great in the old version of NSIS.
Now smalldesc doesn't work!! :(
How to use it?
Solution 1:
!insertmacro MUI_COMPONENTSPAGE_SMALLDESC
Solution 2:
!insertmacro MUI_COMPONENTSPAGE
!define MUI_UI_COMPONENTSPAGE_NODESC
Solution 2:
!insertmacro MUI_COMPONENTSPAGE
!define MUI_UI_COMPONENTSPAGE_NODESC "${NSISDIR}\Contrib\UIs\modern-smalldesc.exe"
I don't find the answer!
Thank you!!!
zimsms
23rd April 2004 13:09 UTC
!define MUI_COMPONENTSPAGE_SMALLDESC
The trick is, it must be placed before any of the other mui defines.
ImmortAlex
2nd September 2004 04:29 UTC
But how to change resources of this dialog?
If I do
!define MUI_UI_COMPONENTSPAGE_SMALLDESC "${NSISDIR}\Contrib\UIs\modern-smalldesc.exe"
!define MUI_COMPONENTSPAGE_SMALLDESC
then I get errors when I do
!insertmacro: MUI_PAGE_WELCOME
(or any other page)
Error: Can't find "IDD_SELCOM" in "C:\Program Files\NSIS\Contrib\UIs\modern-smalldesc.exe"!
Error in macro MUI_INTERFACE on macroline 56
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5
zimsms
2nd September 2004 13:02 UTC
"${NSISDIR}\Contrib\UIs\modern-smalldesc.exe"
That is a dash, it's an underscore! Use:
"${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
ImmortAlex
3rd September 2004 02:42 UTC
Yes! :)
BTW: in Modern UI readme dash is used, not underscore. Over and over again I promise myself not to use Copy-Paste :)
Joost Verburg
5th September 2004 13:22 UTC
The filename in the Modern UI Readme is indeed incorrect. This has been fixed.
John P.
4th February 2006 13:11 UTC
Hi. This is an old thread, but I have a question now about this as well.
I've tried to put
!define MUI_UI_COMPONENTSPAGE_SMALLDESC
before all the other page defines and macros, but it didn't take.
I then put
!define MUI_UI_COMPONENTSPAGE_SMALLDESC "${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
there instead, but that didn't take either. There's still the normal description area to the right of the Section window. Isn't SMALLDESC supposed to place the description area below the Section window?
I'm using NSIS 2.14
There's no error or warning message when I compile.
[edit] I guess I should mention that I have used !define MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO to change the grayed-out text in the description area, in case that has anything to do with this. [/edit]