!include "WinMessages.nsh"
!define MUI_PAGE_CUSTOMFUNCTION_PRE MyTest
Function MyTest
FindWindow $1 "#32770" "" $HWNDPARENT # Find inner dialog
GetDlgItem $2 $1 0x3FE # Control ID
SendMessage $2 ${WM_SETTEXT} 0 "STR:Example"
FunctionEnd
Inner Dialog element not editable.
As a test, I wanted to replace the "Select components to install:" text with "Example" on the components page. With the following code in Classic UI it works perfectly but in Modern UI it doesn't. what is the error?