Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th March 2008, 11:32   #1
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
Question How to display a banner image on all dialogs ?I'm using MUI2

I would like to display a banner image on my installer dialogs . When the image is displayed it should not hide the text already there in the dialogs. For example the destination dialog has "Choose the destination dialog location" text. So this image should appear as a background under this text
Alfaromeo is offline   Reply With Quote
Old 17th March 2008, 19:34   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Use one of the following:

http://nsis.sourceforge.net/Image_in...dow_background
http://nsis.sourceforge.net/EBanner_plug-in
http://nsis.sourceforge.net/AnimGif_plug-in

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 18th March 2008, 05:50   #3
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
Please find the attached image. If you look at it on the right hand side on the top of the dialog, you can see an image .
I have used the following to have it done

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP "Banner.bmp"
!define MUI_HEADERIMAGE_UNBITMAP "Banner.bmp"
But, I'm not able to stretch that image across the text area. It wither appears on the left or on the right. I want to strecth completely on the top of the dialog as shown byt the red line

I have the Ebanner plugin. But not able to do it using the same .
Please advice
Attached Images
File Type: jpg image.jpg (29.5 KB, 140 views)
Alfaromeo is offline   Reply With Quote
Old 18th March 2008, 13:49   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
Code on this page will help:

http://nsis.sourceforge.net/Image_in...dow_background

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 18th March 2008, 15:23   #5
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
Hi,

I would like to know whether we need to put up so much lines of code to just display a banner !!

Is that the only way ? In InstallShield , it's just drag and drop the BMP and stretch the image to have it done .
Alfaromeo is offline   Reply With Quote
Old 20th March 2008, 03:04   #6
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
Seems this is the end .Guys no answer ?
Alfaromeo is offline   Reply With Quote
Old 20th March 2008, 18:09   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
What kind of answer are you looking for?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp 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