Archive: Too long name for welcome page


Too long name for welcome page
Hi,

I have a too long product name for the welcome page. Due to the long name I need three lines for the "Welcome to the installation of..." text and default Modern UI only allows two lines.

I have looked around in the documentation and it seems that replacing the ioSpecial.ini file is a way to solve it. However, the default ioSpecial.ini file does not make sence to me:

Field 1 is the image to the left side. That's ok.
Field 2 I assume it the "Welcome to..." title.
Field 3 is probably the text body.

Field 2 and 3 do not have any size specifications. How come then Modern UI allocates two lines for field 2? And how does it know where to place field 3?

Is there some way I can specify a variable height for field 2 so that it will automatically adapt to the text? (I change my product name a lot :)

Thanks,
Torbjörn


Hi :)

Check the Modern UI Readme, "3. Pages, Welcome Page settings" :

http://nsis.sourceforge.net/Contrib/...UI/Readme.html

There is a nice flag just for that :D:

MUI_WELCOMEPAGE_TITLE_3LINES


evilO/Olive


Thanks, I had missed that one...

However, this is very manual. There is no automatic way to do it where NSIS checks the length of the contents?

/Torbjörn


There is no automatic way to do it where NSIS checks the length of the contents?
Means InstallOptions plugin, probably because it's difficult to implement as everything can have different font sizes, types of font...

But for this case, as you generally won't want to change any font size or type, you can make a basic detection using StrLen and changing "ioSpecial.ini" in Modern UI folder.