|
|
#1 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Modern UI Bitmap Replacement
Ok, this is probably faulty because I'm guessing most of this, and it was a very rushed job, but the header and wizard images in my installer aren't displaying, there just white. I have editted both the System.nsh of MUI and of course my own script. I've tried the images in the default folders in NSIS, and now the images are in the folder under the paths currently, and they just will not show.
Here is the script code: (I've removed the file install lists and the uninstall lists to save space.) code: I have pasted my MUI into Nopaste to save space in the thread, it can be read here: http://rafb.net/paste/results/poskne59.html Many thanks. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You need
!define MUI_HEADERIMAGE before it as well. -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Yeah it's not that, it had that in before, but I removed it to see if it would work without it. I'll put it back in though.
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Without MUI_HEADERIMAGE, MUI_HEADERIMAGE_BITMAP is completely ignored.
-Stu |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Okay. i've fixed it now, but it still doesn't work. Do you have any other ideas?
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Firstly try moving the !include MUI.nsh line to the top of your script above anything else.
If that does not work, try putting this in your script: Function .onInit InitPluginsDir FunctionEnd -Stu |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Neither of those fixes worked.
|
|
|
|
|
|
#8 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I built the exact script that you have there, but used C:\trees.bmp for the image and it works fine.
Perhaps the bitmap that you are trying to use is corrupt or the incorrect format. Try copying it to C:\ and referencing it from there. -Stu |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Nope it still doesn't work! *rips hair out*
Could you make the changes you did with c:\trees.bmp To change them to c:\darksigns.bmp for the large sidebar and c:\vm.bmp for the header. So I know that I'm changing the right ones. |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Can anyone help with this? I'm going to try and get a blank copy of System.nsh and start over if I can find one.
|
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
I've just totally remade it, with a clean system.nsh, and it still won't work, if I replace my images with one of the standards, it works fine. But if I put in my own custom bitmaps, it won't display them.
They where created and saved using Photoshop. |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Jul 2006
Posts: 9
|
Ah ha! I did it, had to make sure it was saved as 8bit Indexed, rather than 16bit RGB.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|