Archive: change text of custom page


change text of custom page
Hello,

I want to change the text of a custom page.
How can this be achieved?

I use the multlanguage dialog (!insertmacro MUI_LANGDLL_DISPLAY) which works fine.
The each translated words are saved in 3 different variables.
Now i tried this in the NSIS script:


WriteINIStr "licinfodlg.ini" "Field 3" "Text" $(Single)
WriteINIStr "licinfodlg.ini" "Field 2" "Text" $(demoversion)
WriteINIStr "licinfodlg.ini" "Field 6" "Text" $(Floating)


But this does not work :(

licInfoDlg is the name of the ini-File.
To change the text of the predefined textfields I used:


Function licInfoDlg

!insertmacro MUI_HEADER_TEXT $(title_Licence_Mode) $(Licence_Mode)
!insertmacro INSTALLOPTIONS_DISPLAY "licInfoDlg.ini"

FunctionEnd


Write the 3 WriteINIStr Line in the function licInfoDlg was also not successfull.

Can someone help me?

Use !insertmacro INSTALLOPTIONS_WRITE not WriteINIStr.

Stu


Thank you very much. This works great !! :up: