Archive: Show normal finish page is reboot will be made later


Show normal finish page is reboot will be made later
Hi!
My installer sometimes needs reboot at the end (it depend on the selected components). I'm using the SetRebootFlag and it works fine. But is there a way to show the standard finish page after this one that asks for reboot if the user select that he will reboot the PC later? I mean that I want to give him the possibility to create desktop icons or to run the installed application that offers the finish page, shown when reboot is not needed.


I think the best thing to do is have no finish page options and then show the correct options yourself depending on the situation. You can copy the required code that generates the controls from Contrib\Modern UI 2\Pages\Finish.nsh

Stu