Archive: Question about changing directory readme ?


Question about changing directory readme ?
Hello,
I wanna change the directory page text to something else, i guess that question is so simpel to answer, that no one ever asked(since i dont seem to be able to find one in search, or documentary), do i have to completly make a new installer page(hope not, im not so much into this stuff), or can i just edit some directory file.nsh ? i looked through many .nsh files, but dont seem to find the standard txt anywhere ?


if you are talking about the text that says Setup will instal (insert program name here) in the following folder. to install blah blah...

and if your using modern ui this should work i just tested it

right above the line !insertmacro MUI_PAGE_DIRECTORY
in your script put


!define MUI_PAGE_CUSTOMFUNCTION_SHOW ChangeDirTextFunction

Function ChangeDirTextFunction
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R1 $R0 1006
SendMessage $R1 ${WM_SETTEXT} 0 `STR:where u want it?` ;sets the labels text
FunctionEnd

omg, i missed the first line, all is well, thx alot


hmm should be the same on mui but for kicks try mui2.nsh i have to go download umui


But how do you make an carriage return ?
Search did help me there, its just not in carriage return :-) , well answer was $\n