Archive: Change finish page text from function


Change finish page text from function
I want to change the text displayed as title and text in the finished page from within a function or otherwise dynamically. I have searched this forumn and tried numerous suggestions of which not a single one seems to work. Any help here is appreciated.

NR


You need to modify ioSpecial.ini file before the finish page is displayed.

Vytautas


You can do that in the pre callback function of the finish page.

In the Pre function of the Welcome page and the Finish page, you can write to the InstallOptions INI file of the page (ioSpecial.ini)
ioSpecial.ini is in the $PLUGINSDIR. You should use the MUI InstallOptions macros to write to it.
Use these macros to read or write INI file values:

!insertmacro MUI_INSTALLOPTIONS_READ $VAR "ioFile.ini" "Field #" "Value Name"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioFile.ini" "Field #" "Value Name" "Value"