Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 5th July 2005, 20:25   #1
gbrooks3
Junior Member
 
Join Date: Jul 2005
Posts: 5
Newbie, bmp banner

Hello all,

I have read the faq and other posts from kichik about the rules. I have tried to adhere to them to the point that i feel guilty for actaully posting

However, could someone direct me in a method to change/add a custom image to the main dialog, i.e. a banner that replacess the big white space that i have at the moment.

Nothing i do seems to work, i cant replace the res using reshacker, as it just doesnt work.............any help?

I am lost
gbrooks3 is offline   Reply With Quote
Old 5th July 2005, 21:18   #2
ZmAn3
Senior Member
 
Join Date: Oct 2003
Posts: 165
can you restate what you want or post a screen shot im not quite sure i understand what you want
ZmAn3 is offline   Reply With Quote
Old 5th July 2005, 21:33   #3
gbrooks3
Junior Member
 
Join Date: Jul 2005
Posts: 5
Thanks for the reply,

sure, see attached image



You see the top section of the dialog? I wish to place my own bmp/jpg whatever image there.
gbrooks3 is offline   Reply With Quote
Old 5th July 2005, 23:59   #4
ZmAn3
Senior Member
 
Join Date: Oct 2003
Posts: 165
you want to edit the bmp dialog to the full width and also take out the label controls then your header img needs to be about 497 to 500 by 57


the file to edit is modern_headerbmp.exe however its probley better to make a copy of that name it say fullheaderui.exe

and in your .nsi script have
in the interface settings area this line of code
!define MUI_UI_HEADERIMAGE "fullheaderui.exe"

ZmAn3 is offline   Reply With Quote
Old 6th July 2005, 10:22   #5
gbrooks3
Junior Member
 
Join Date: Jul 2005
Posts: 5
Thanks for your help, however i cant chnage the bmp in resource, hacker. It just wont let me do it

What am i doing wrong?
gbrooks3 is offline   Reply With Quote
Old 6th July 2005, 10:27   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
I have no idea - it's very easy. Make a copy of the Contribs\UIs\modern_headbitmap.exe and open it with Resource Hacker. For dialog 105>1033 just stretch the BMP image using the small grey squares.
Once done, click on the Compile Script button and then File>Save.

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 6th July 2005, 10:32   #7
gbrooks3
Junior Member
 
Join Date: Jul 2005
Posts: 5
Yes, i understand that, but i just cant use you my own Image there?
gbrooks3 is offline   Reply With Quote
Old 6th July 2005, 10:34   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
Have you defined MUI_HEADERIMAGE and MUI_HEADERIMAGE_BITMAP?

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 6th July 2005, 10:40   #9
gbrooks3
Junior Member
 
Join Date: Jul 2005
Posts: 5
ah, oopse! I feel like a muppet now.............

Thanks Afrow
gbrooks3 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