View Full Version : problem with the picture being overwitten by text
radudinca
26th March 2007, 10:18
In the image below you can see the problem ... The text overwrites the picture from the Installer and that looks ugly...
http://photos1.blogger.com/x/blogger/8161/3988/1600/740500/bug%20NSIS.jpg
Until now I haven't found any solutions ... Please help :)
PS :
link to the picture since it isn't showed here :
http://photos1.blogger.com/x/blogger/8161/3988/1600/740500/bug%20NSIS.jpg
Red Wine
26th March 2007, 11:46
Can't see the image, however this thread might help you :)
http://forums.winamp.com/showthread.php?s=&threadid=268363
radudinca
26th March 2007, 12:08
this forum has some annoying features... I can't add picture , i can't put url cause instead of it I get a message ( url submited by user ) ...
Red Wine
26th March 2007, 12:37
Actually they aren't annoying rules... just intelligent rules against spammers who like to put their crap all over, after some days and some posts you shall not have such problems :)
Now, what exactly you're trying to achieve, you want to disappear the text or what?
radudinca
26th March 2007, 12:39
that text shouldn't appear in there ! yes .. i'd like it to disappear or be somewhere else .
Red Wine
26th March 2007, 13:09
Maybe you should try:
MUI_HEADER_TRANSPARENT_TEXT
MUI_PAGE_HEADER_TEXT
MUI_PAGE_HEADER_SUBTEXT
See MUI documentation,
http://nsis.sourceforge.net/Docs/Modern%20UI/Readme.html
radudinca
27th March 2007, 09:24
[B]Maybe you should try:
MUI_HEADER_TRANSPARENT_TEXT
MUI_PAGE_HEADER_TEXT
MUI_PAGE_HEADER_SUBTEXT
I already defined them :( ... doesn't work.
Red Wine
27th March 2007, 09:51
!define APP_NAME 'Test'
name ${APP_NAME}
outfile '${APP_NAME}.exe'
showinstdetails show
InstallDir '$PROGRAMFILES\${APP_NAME}'
!include 'mui.nsh'
!define MUI_HEADER_TRANSPARENT_TEXT ;in case you add text below
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ChangeHeaderColor
!insertmacro MUI_PAGE_LICENSE '${NSISDIR}\License.txt'
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""
!insertmacro MUI_PAGE_COMPONENTS
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""
!insertmacro MUI_PAGE_DIRECTORY
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
function ChangeHeaderColor
GetDlgItem $1 $HWNDPARENT 1034
SetCtlColors $1 "" "0x00FF00"
GetDlgItem $1 $HWNDPARENT 1039
SetCtlColors $1 "" "0x00FF00"
functionend
Section -
;
SectionEnd
radudinca
27th March 2007, 11:43
I tried your code ... and it works, but that is not what I wanted :) ... You lose the text, but the picture is still overwritten by white , even if without the writting.
Red Wine
27th March 2007, 16:30
Well, for me works as expected, I added even a green background to the control to make it more clear.
When I use!define MUI_HEADER_TRANSPARENT_TEXT
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""the result is this:
Red Wine
27th March 2007, 16:32
But when I use# !define MUI_HEADER_TRANSPARENT_TEXT
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""the result is this:
radudinca
27th March 2007, 17:21
hmm ... i get the second picture even though i use Transparent ....
What version of NSIS do you use ? maybe i have old version
Red Wine
27th March 2007, 17:50
I'm using the current release which is 2.24 :)
http://nsis.sourceforge.net/Download
radudinca
28th March 2007, 08:23
Thanks alot ... it was the NSIS version indeed :)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.