Mui_finishpage_showreadme_notchecked
Hello!
I use MUI, I need a MUI_FINISHPAGE_SHOWREADME_NOTCHECKED.
How do I point wich page will be displayed when the readme is checked?
Thanx,
H
Archive: Mui_finishpage_showreadme_notchecked
Mui_finishpage_showreadme_notchecked
Hello!
I use MUI, I need a MUI_FINISHPAGE_SHOWREADME_NOTCHECKED.
How do I point wich page will be displayed when the readme is checked?
Thanx,
H
Check the Modern UI Readme.
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Readme.txt"
I did like this:
!define MUI_FINISHPAGE
!define MUI_FINISHPAGE_SHOWREADME "..\CD\Documentation\userGuide.html"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
....
#!insertmacro MUI_SECTIONS_FINISHHEADER
And it didn't worked.
Thanx for your response,
H
You have to specify a file on the users system (that you installed), so it should start with $INSTDIR or another directory.
Thank you and a good day!
H
BTW
MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
does not work properly - no checkbox or text is shown
pls fix it Joost
I think you need to change
!define MUI_FINISHPAGE
to
!insertmacro MUI_PAGE_FINISH
This is from my code, and it works for me. Win98SE here.
I am using MUI 1.65, I updated via CVS yesterday.
!insertmacro MUI_PAGE_FINISH
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.rtf"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
Hope this helps,
Lilla
i see - i have to use both strings. thx
Is there a possibility to offer this option only when the readme has realy been installed?
I'm not sure if this is the best way, but here's the direction I would take...
To display the Finish Page conditionally, or modify the page before it is displayed, add this line:
!define MUI_CUSTOMFUNCTION_FINISHPAGE_PRE FinishPagePre
Function FinishPagePre
Abort ; cases this page to be skipped
FunctionEnd
To show the ReadMe option on the Finish Page conditionally (ie only when the readme file exists), place logic in the function above. I don't know the code needed to do what you, but there is no doubt a way to do it.
You can name the function anything you like, such as CusomizeFinishPage
Hope this helps,
Lilla