Dygear
17th July 2008 22:15 UTC
Install Time Graphics
I'm referring to the use of the images within the $NSIS/Contrib/Graphics Directory.
Checks
Checks, I don't really care about right now, so I'm going to avoid this topic for this post.
Header
Why are header images 150px by 57px when the whole header is 497px by 57px? Is there a way I can make a header image span the whole header, with out it getting squashed into the 150x57 size?
Wizard
Wizard Images are 164px by 314px, how does one go about defining a custom wizard image in a .nsi script? For example, instead of using the win.bmp as the welcome image, I would like to use the orange.bmp image instead. How do you define this in a script?
Icons
Icons them self are pretty much self explanatory. 48px by 48px and 16Bit color and transparency capable. These files are set with the Icon and UninstallIcon functions.
Using Header & Welcome
I can't seem to setup a installer that gives me both a custom header image, and a custom welcome image. Are the use of these two mutually exclusive?
LoRd_MuldeR
18th July 2008 01:34 UTC
Assuming you are using MUI to make your installer:
MUI_WELCOMEFINISHPAGE_BITMAP <bmp_file>
Bitmap for the Welcome page and the Finish page (size: 164x314 pixels).
Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp
MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
Do not stretch the bitmap for the Welcome and Finish page to fit the size of the field.
MUI_HEADERIMAGE
Display an image on the header of the page.
MUI_HEADERIMAGE_BITMAP <bmp_file>
Bitmap image to display on the header of installers pages (size: 150x57 pixels).
Default: ${NSISDIR}\Contrib\Graphics\Header\nsis.bmp
MUI_HEADERIMAGE_BITMAP_NOSTRETCH
Do not stretch the installer header bitmap to fit the size of the field.
For more info refer to the MUI readme file ;)
Dygear
18th July 2008 22:57 UTC
Thank you very much, and for those of you who don't know (like me - until I looked) the MUI and MUI2 help files can be found in the NSIS directory under Docs.
Also, another tip, !define all of thoses values before you include the MUI or MUI2 .nsh files, or you'll get errors at build time.
LoRd_MuldeR
19th July 2008 12:46 UTC
Originally posted by Dygear
Thank you very much, and for those of you who don't know (like me - until I looked) the MUI and MUI2 help files can be found in the NSIS directory under Docs.
Also, another tip, !define all of thoses values before you include the MUI or MUI2 .nsh files, or you'll get errors at build time.
The two folders "Docs" and "Examples" are there for a reason :p