MUI_PAGE_INSTFILES: change bgcolor
Hi together!
Is it possible to change the background color of the page
MUI_PAGE_INSTFILES
If yes: how?
Thanks for Tips, Bernd
Archive: MUI_PAGE_INSTFILES: change bgcolor
MUI_PAGE_INSTFILES: change bgcolor
Hi together!
Is it possible to change the background color of the page
MUI_PAGE_INSTFILES
If yes: how?
Thanks for Tips, Bernd
If you want to change the bkg color, this wiki page might help start,
http://nsis.sourceforge.net/Demonstr...Pre_Show_Leave
if you want to change the progress bar then you'll find the answer in MUI documentation
http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html
If you want to change the bkg color, this wiki page might help start,But they do nothing else than:
http://nsis.sourceforge.net/Demonstr...Pre_Show_Leave
http://nsis.sourceforge.net/Docs/Mod...UI/Readme.htmlSurely I had a look at this page and did not find anything.
copied from MUI documentation ;)
Installation Page Interface Settings
MUI_INSTFILESPAGE_COLORS (/windows | (foreground color: RRGGBB hexadecimal) (background color: RRGGBB hexadecimal))
The colors of the details screen. Use /windows for the default Windows colors.
Default: /windows
MUI_INSTFILESPAGE_PROGRESSBAR ("" | colored | smooth)
The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.
Default: smooth
You're too fast Red Wine,
I've just copied the same block :D
it's always good to refresh before submitting
Originally posted by Red WineSorry for not reading this.
MUI_INSTFILESPAGE_COLORS (/windows | (foreground color: RRGGBB hexadecimal) (background color: RRGGBB hexadecimal))
The colors of the details screen. Use /windows for the default Windows colors.
Default: /windows
!include "MUI.nsh"
!define MUI_BGCOLOR FFFFFF
!define MUI_ABORTWARNING
!define MUI_ICON ".\icon.ico"
!define MUI_UNICON ".\icon.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\side.bmp"
!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP ".\header.bmp"
!define MUI_HEADERIMAGE_UNBITMAP ".\header.bmp"
!define MUI_INSTFILESPAGE_COLORS "FFFFFF 00000"
!insertmacro MUI_PAGE_WELCOME
Page custom ShowSQLServerConfigDialog WriteToIni
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "German"
post a snapshot (png) if possible showing what you want to change.
Originally posted by Red WineI did. My installer should have a complete white background. But the inner window stills remains gray. How do I get a HWD to this part of the gui to change the color to white?
post a snapshot (png) if possible showing what you want to change.
!define MUI_INSTFILESPAGE_PROGRESSBAR "colored"
!define MUI_INSTFILESPAGE_COLORS "0xFFFFFF 0xFFFFFF"
......
......
!define MUI_PAGE_CUSTOMFUNCTION_SHOW inst_show
!insertmacro MUI_PAGE_INSTFILES
.......
.......
function inst_show
FindWindow $1 "#32770" "" $HWNDPARENT
SetCtlColors $1 '' '0xFFFFFF'
functionend
Originally posted by Red Wine:) Thanks, this works fine.
!define MUI_INSTFILESPAGE_PROGRESSBAR "colored"
!define MUI_INSTFILESPAGE_COLORS "0xFFFFFF 0xFFFFFF"
......
......
!define MUI_PAGE_CUSTOMFUNCTION_SHOW inst_show
!insertmacro MUI_PAGE_INSTFILES
.......
.......
function inst_show
FindWindow $1 "#32770" "" $HWNDPARENT
SetCtlColors $1 '' '0xFFFFFF'
functionend
"colored" makes it white for me (no XP theme-classic windows)
Originally posted by Red WineBut I want to use it also with XP style.
"colored" makes it white for me (no XP theme-classic windows)
SetCtlColors $1 "0x000000" "0xFFFFFF" ;)
Originally posted by Red WineHuuuh, yes that's it! Thanks for your assistence and patience.
SetCtlColors $1 "0x000000" "0xFFFFFF" ;)