nsnb
5th August 2008 18:36 UTC
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:
http://img212.imageshack.us/img212/103/shortnameot5.png
But if I use a long string for 'Name', it is displayed with artifacts in the line below the welcome message:
http://img170.imageshack.us/img170/1...longnampz0.png
Is this a known problem?
If so, how do I workaround it, short of using undesirable short names? (no pun intended)
Afrow UK
5th August 2008 19:06 UTC
!define MUI_WELCOMEPAGE_TITLE_3LINES
Stu
nsnb
5th August 2008 20:26 UTC
Originally posted by Afrow UK
!define MUI_WELCOMEPAGE_TITLE_3LINES
It works! Thank you.
nsnb
18th October 2008 00:22 UTC
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
18th October 2008 06:22 UTC
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."
http://forums.winamp.com/showthread.php?threadid=195740
nsnb
19th October 2008 01:48 UTC
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 :)