Old 26th March 2007, 10:18   #1
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
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...



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

Last edited by radudinca; 26th March 2007 at 12:04.
radudinca is offline   Reply With Quote
Old 26th March 2007, 11:46   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Can't see the image, however this thread might help you

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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 26th March 2007, 12:08   #3
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
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 ) ...
Attached Images
File Type: jpg bug nsis.jpg (56.2 KB, 130 views)
radudinca is offline   Reply With Quote
Old 26th March 2007, 12:37   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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?

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 26th March 2007, 12:39   #5
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
that text shouldn't appear in there ! yes .. i'd like it to disappear or be somewhere else .
radudinca is offline   Reply With Quote
Old 26th March 2007, 13:09   #6
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 27th March 2007, 09:24   #7
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
Quote:
[B]Maybe you should try:
MUI_HEADER_TRANSPARENT_TEXT
MUI_PAGE_HEADER_TEXT
MUI_PAGE_HEADER_SUBTEXT
I already defined them ... doesn't work.
radudinca is offline   Reply With Quote
Old 27th March 2007, 09:51   #8
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
code:
!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


Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 27th March 2007, 11:43   #9
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
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.
radudinca is offline   Reply With Quote
Old 27th March 2007, 16:30   #10
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Well, for me works as expected, I added even a green background to the control to make it more clear.

When I use
code:
!define MUI_HEADER_TRANSPARENT_TEXT
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""

the result is this:
Attached Images
File Type: png imgok.png (13.4 KB, 133 views)

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 27th March 2007, 16:32   #11
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
But when I use
code:
# !define MUI_HEADER_TRANSPARENT_TEXT
!define MUI_PAGE_HEADER_TEXT ""
!define MUI_PAGE_HEADER_SUBTEXT ""

the result is this:
Attached Images
File Type: png imgerr.png (16.4 KB, 125 views)

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 27th March 2007, 17:21   #12
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
hmm ... i get the second picture even though i use Transparent ....
What version of NSIS do you use ? maybe i have old version
radudinca is offline   Reply With Quote
Old 27th March 2007, 17:50   #13
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
I'm using the current release which is 2.24

http://nsis.sourceforge.net/Download

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 28th March 2007, 08:23   #14
radudinca
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks alot ... it was the NSIS version indeed
radudinca is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump