dialog header appareance
hy.
How i change the text and add a bitmap in the header of the default dialogs?
is possible?
thanks
Archive: dialog header appareance
dialog header appareance
hy.
How i change the text and add a bitmap in the header of the default dialogs?
is possible?
thanks
Are you using MUI pages ?
In that case:
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "img.bmp"
!define MUI_HEADERIMAGE_UNBITMAP "img.bmp"
&
!define MUI_PAGE_HEADER_TEXT "text"
Text to display on the header of the page.
!define MUI_PAGE_HEADER_SUBTEXT "text"
Subtext to display on the header of the page.
More info => helper\Appendix A: Modern User Interface
Gal'
for the dimension of the default MUI what i change?
and for the position and the size of the image
thanks
Read the appendix....
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 (recommended 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. Use this option only if you have an image that does not use the whole space. If you have a full size bitmap that fits exactly, you should not use this option because the size of the field will be different if the user has a custom DPI setting.
MUI_HEADERIMAGE_BITMAP_RTL bmp_file
Bitmap image to display on the header of installers pages when using a RTL language (recommended size: 150x57 pixels).
Default: Non-RTL bitmap
MUI_HEADERIMAGE_BITMAP_RTL_NOSTRETCH
Do not stretch the installer header bitmap when using a RTL language to fit the size of the field. Use this option only if you have an image that does not use the whole space. If you have a full size bitmap that fits exactly, you should not use this option because the size of the field will be different if the user has a custom DPI setting.
MUI_HEADERIMAGE_UNBITMAP bmp_file
Bitmap image to display on the header of uninstaller pages (recommended size: 150x57 pixels).
Default: Installer header bitmap
MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH
Do not stretch the uninstaller header bitmap to fit the size of the field. Use this option only if you have an image that does not use the whole space. If you have a full size bitmap that fits exactly, you should not use this option because the size of the field will be different if the user has a custom DPI setting.
MUI_HEADERIMAGE_UNBITMAP_RTL bmp_file
Bitmap image to display on the header of uninstallers pages when using a RTL language (recommended size: 150x57 pixels).
Default: Installer RTL header bitmap
MUI_HEADERIMAGE_UNBITMAP_RTL_NOSTRETCH
Do not stretch the uninstaller header bitmap when using a RTL language to fit the size of the field. Use this option only if you have an image that does not use the whole space. If you have a full size bitmap that fits exactly, you should not use this option because the size of the field will be different if the user has a custom DPI setting.
MUI_HEADERIMAGE_RIGHT
Display the header image on the right side instead of the left side (when using a RTL language it will be displayed on the left side instead of the right side).
MUI_BGCOLOR (color: RRGGBBR hexadecimal)
Background color for the header, the Welcome page and the Finish page.
Default: FFFFFF
MUI_HEADER_TRANSPARENT_TEXT
Set a transparent background for the header's label controls. Useful for custom user interfaces that set a bigger header image.
thanks.
I find that there are some skin for nsis can you Advise me some ?
ps.
I create some custom pages(.ini files) but i dont be able to change the appareance of header or footer can anibody help me?
thanks
custom MUI pages are deprecated as noticed in the helper. I use nsDialogs instead, and it is more complicated (the macros are very closed to the native Windows API), so I can't give you any advice.
Gal'
thanks.
Can you post an example of code for change the header text and the footer text of the installer?
THe text change for each dialog type , can i change this the text for each dialog ,welcome dialog:MUI_PAGE_WELCOME,licence dialog:MUI_PAGE_LICENSE ecc.. separately?
sorry but i dont resolve.
I tried to do what is written in the doc:
General page settings
MUI_PAGE_HEADER_TEXT text
Text to display on the header of the page.
MUI_PAGE_HEADER_SUBTEXT text
Subtext to display on the header of the page.
so:
!insertmacro MUI_PAGE_HEADER_TEXT "My TITLE 1"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_HEADER_TEXT "My TITLE 2"
!insertmacro MUI_PAGE_LICENSE