Skip to content
⌘ NSIS Forum Archive

Bug??? in NSIS? in My Script?

6 posts

nsnb#edited

Bug??? in NSIS? in My Script?

I wrote a simple script. If I use a short string for 'Name', it is displayed in the welcome screen nicely, without any flaws:



But if I use a long string for 'Name', it is displayed with artifacts in the line below the welcome message:



Is this a known problem?

If so, how do I workaround it, short of using undesirable short names? (no pun intended)
nsnb#
Well, it works for the welcome and finish page of the INSTALL, since there are:
MUI_WELCOMEPAGE_TITLE_3LINES
MUI_FINISHPAGE_TITLE_3LINES
But the problem still exists in the finish page of the UNINSTALL, since there isn't an equivalent MUI_UNFINISHPAGE_TITLE_3LINES.

Any idea how to workaround this problem?
AaronLS#
You should just make your software so awsome that no one will ever uninstall it... 🙂

You can do this for the uninstall as well. I will quote scully13 from another post and provide the link to that post below. Good luck.

"Use the same define(s) but repeat it with your uninstall insertmacro like so:

!define MUI_FINISHPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_FINISH

!define MUI_FINISHPAGE_TITLE_3LINES
!insertmacro MUI_UNPAGE_FINISH

The same would go for MUI_WELCOMEPAGE_TITLE_3LINES."

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
nsnb#
Thank you! your tip works very well.
Originally posted by AaronLS
You should just make your software so awsome that no one will ever uninstall it... 🙂
For every "software so awesome 1.0" there is "software so awesome 1.1" 🙂

Thus, the installer for version 1.1 should be able to invoke the uninstaller for version 1.0 🙂