I want to define de ComponentsText
Hello,
I would define the ComponentsText. Could you say me how i can do this?
I tried
!define MUI_TEXT_ComponentsText "TEST"
but it's not working.
Thanks for the help
Archive: I want to define de ComponentsText
I want to define de ComponentsText
Hello,
I would define the ComponentsText. Could you say me how i can do this?
I tried
!define MUI_TEXT_ComponentsText "TEST"
but it's not working.
Thanks for the help
MUI_COMPONENTSPAGE_TEXT_TOP, MUI_COMPONENTSPAGE_TEXT_COMPLIST, MUI_COMPONENTSPAGE_TEXT_INSTTYPE, MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE and MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO.
Thank you kichik :)
Is it possible to make the MUI_COMPONENTSPAGE_TEXT_TOP in a red color?
Thank you
yep, 'easy':
; define this line before your MUI components page.
; It calls a function before showing the page, so we can change it
!define MUI_PAGE_CUSTOMFUNCTION_SHOW SetTopRed
; MUI components page
!insertmacro MUI_PAGE_COMPONENTS
; Function to turn that top red
Function SetTopRed
; get the inner (MUI) dialog
FindWindow $0 "#32770" "" $HWNDPARENT
; get the correct control (use e.g.WinSpy to find it)
GetDlgItem $1 $0 0x3ee
; and change the color to red
SetCtlColors $1 0xff0000 "transparent"
FunctionEnd
!include "MUI.nsh"
Name "Modern UI Test"
OutFile "Basic.exe"
!define MUI_COMPONENTSPAGE_TEXT_TOP "Hello world"
!define MUI_PAGE_CUSTOMFUNCTION_SHOW SetTopRed
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
Function SetTopRed
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 0x3ee
SetCtlColors $1 0xff0000 "transparent"
FunctionEnd
Section "Dummy Section" SecDummy
SectionEnd