Archive: Question about InstallOptions page refresh


Question about InstallOptions page refresh
I have a question about something I've never done before. But first, some background:

I want to make a custom installation confiramtion page to use with the Modern UI to display the user's options before the install. The idea is that the user can press 'back' to make changes to the install parameters before continuing. I'm planning to use this command to display the confirmation page:
!insertmacro MUI_INSTALLOPTIONS_DISPLAY 'confirmpage.ini'

So here's my question:
When using the command above, does the page get refreshed each time it's loaded? Or does it simply remain in memory and become 'hidden' when it's not used? If it is hidden (rather than closed) is there a better command/procedure to use?

(The reason I ask is that I want to ensure that if the user clicks 'back' to make changes, that the new changes get reflected on the confirmation screen.)


Your 'confirmpage.ini' is written by default to the temp folder (on your hard disk). If you leave the page all settings are written to the ini and reloaded if you return. Forget the 'memory' and 'hidden' theory - just dive in and expereance how easy it is to use.


I know that InstallOptions can write the user's input back to the INI file (and that the INI is stored in TEMP), but I just wasn't sure if I could change things manually after the initial call to display the page.

But, based on what you've said here, it sounds like I'll be OK. I'll go ahead and try it and see what happens.

Thanks for the advice, Mæster!