Archive: problem with the picture being overwitten by text


problem with the picture being overwitten by text
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...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


Can't see the image, however this thread might help you :)

http://forums.winamp.com/showthread....hreadid=268363


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 ) ...


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?


that text shouldn't appear in there ! yes .. i'd like it to disappear or be somewhere else .


Maybe you should try:
MUI_HEADER_TRANSPARENT_TEXT
MUI_PAGE_HEADER_TEXT
MUI_PAGE_HEADER_SUBTEXT

See MUI documentation,

http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html


[B]Maybe you should try:
MUI_HEADER_TRANSPARENT_TEXT
MUI_PAGE_HEADER_TEXT
MUI_PAGE_HEADER_SUBTEXT
I already defined them :( ... doesn't work.

!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

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.


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:

But when I use

# !define MUI_HEADER_TRANSPARENT_TEXT
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""
the result is this:

hmm ... i get the second picture even though i use Transparent ....
What version of NSIS do you use ? maybe i have old version


I'm using the current release which is 2.24 :)

http://nsis.sourceforge.net/Download


Thanks alot ... it was the NSIS version indeed :)