nroberts
5th December 2003 21:16 UTC
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
Vytautas
6th December 2003 05:38 UTC
You need to modify ioSpecial.ini file before the finish page is displayed.
Vytautas
kichik
6th December 2003 13:22 UTC
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"