Skip to content
⌘ NSIS Forum Archive

Bug: Modern UI - Finish Page and Back Button

8 posts

Speed78#

Bug: Modern UI - Finish Page and Back Button

Hi,

this seems to be a small bug. Steps to reproduce in a modern UI setup.

1. Start a setup and skip all pages to the "Finish Page" (The page where you can decide to restart the pc)

2. Choose the Radiobutton "Restart the PC later"
3. Press the "Back" Button to the previous page.
4. Now Press the "Next" Button.

Now you can see that both radiobuttons are selected ("Restart the PC now" and "Restart the PC later")

Best regards

Rainer
kichik#
Then upgrade to MUI2.nsh for a quick fix or wait for the next version for it to be fixed with MUI.nsh.
Animaether#
Or make your own custom Finish page. You can use IfRebootFlag to check whether the script has indicated a reboot would be required for proper installation and present the options at that time, and keep track of 'now' vs 'later' yourself.

One other option is to disable the Back button; typically there wouldn't be a user-configuration/options page before the finish page anyway.
kichik#
The required modification is:

Speed78#
Hey ho... (it´s nearly chrismas 😉)...

yes this code seems to be ok!

Thank you for changing it...

Kind regards

Rainer