hawkmaster
3rd February 2011 11:51 UTC
If SetRebootFlag true, No MUI_FINISHPAGE?
Hello,
I have this MUI_Finishpage in my script
; Finish page
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_LINK "http://www.test.org"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.testorg"
!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION LaunchTicket
!define MUI_FINISHPAGE_RUN_NOTCHECKED
!define MUI_FINISHPAGE_RUN_TEXT "Starting"
!define MUI_FINISHPAGE_SHOWREADME "readme.txt"
!define MUI_FINISHPAGE_TEXT_REBOOT "The setup needs to reboot"
!define MUI_FINISHPAGE_TEXT_REBOOTNOW "Reboot TT now"
!define MUI_FINISHPAGE_TEXT_REBOOTLATER "Reboot TO later"
!insertmacro MUI_PAGE_FINISH
In a section I have;
SetRebootFlag true
After installation the Reboot screen is shown but not the MUI_FINISHPAGE. No checkboxes
If I comment out the SetRebootFlag then the finish page is shown fine.
What is the problem?
how can I combine both?
regards
hawk
MSG
3rd February 2011 12:27 UTC
The reboot screen IS the finish page. That's how MUI1/MUI2 is designed.
hawkmaster
3rd February 2011 12:49 UTC
Originally posted by MSG
The reboot screen IS the finish page. That's how MUI1/MUI2 is designed.
hmm, that is a little bit confusing.
That means: As soon as you add the Rebootflag = true
you will never see the other Finish Page options?
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_LINK "http://www.test.org"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.testorg"
!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION LaunchTicket
!define MUI_FINISHPAGE_RUN_NOTCHECKED
!define MUI_FINISHPAGE_RUN_TEXT "Starting"
!define MUI_FINISHPAGE_SHOWREADME "readme.txt"
But how can you show both?
Or is it better to make an own Reboot MsgBox at the end?
MSG
3rd February 2011 17:08 UTC
The run checkbox is not rendered because the installation is not finished - in general, the application cannot be expected to run properly. As for the URL not being shown, I guess that the reboot layout doesn't take such things into account. You can either create your own custom finish page with reboot functionality, or edit the existing MUI finish/reboot page.