smarmit
30th January 2009 16:15 UTC
Mui_instfilespage_finishheader_text
Hi all:
On all my MUI2 pages I set the header and sub-header text to blank (""). I do this depending on the page, but my particular problem is for the uninstall finish page. For my install finish page I define:
!define MUI_INSTFILESPAGE_FINISHHEADER_TEXT ""
!define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT ""
This works as expected and no text is shown. However, I do not see in the MUI2 documentation an uninstall counterpart and my other "tricks" were unsuccessful. I keep getting text on the final uninstall finish page.
Does anyone know a way to remove text from the uninstall finish page?
Thank you.
Scott
kichik
30th January 2009 17:34 UTC
Those defines are for the instfiles page, not the finish page. The finish page defines are MUI_FINISHPAGE_TITLE and friends.
But if you were indeed referring to the instfiles page, those should work for the uninstaller too and work fine for me. Have you defined MUI_UNFINISHPAGE_NOAUTOCLOSE as well?
smarmit
30th January 2009 18:12 UTC
Hi: Thanks for the quick reply.
To clarify, I'm referring to the uninstall page at the end where the user can click "Close" to complete un-installation, or "Show Details". I do have this set:
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
!insertmacro MUI_UNPAGE_INSTFILES
So as details are going by, "deleting this, deleting that..." there is no text next to my image at the top of the uninstall page. As soon as it's completed and the the "Close" button becomes active, then some text shows up that says:
"Uninstall Complete"
"Uninstall completed successfully."
At least that's what I think it says as it is partly cut-off by my left-hand side image. That's the text I don't want.
And lastly, on my *install* page equivalent which also has NOAUTOCLOSE set, there is no extra unwanted text. I believe this setting takes care of that:
!define MUI_INSTFILESPAGE_FINISHHEADER_TEXT ""
!define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT ""
In other words, I *think* I would need something like:
!define MUI_UNINSTFILESPAGE_FINISHHEADER_TEXT ""
!define MUI_UNINSTFILESPAGE_FINISHHEADER_SUBTEXT ""
... notice the "UN" prefix. I know those don't exist so I don't know how to get rid of that final text.
I hope that all made sense.
Thanks again.
kichik
30th January 2009 23:38 UTC
The same settings work for MUI_PAGE_INSTFILES as well as MUI_UNPAGE_INSTFILES. Simply define them before inserting the MUI_UNPAGE_INSTFILES macro and after inserting MUI_PAGE_INSTFILES,
smarmit
4th February 2009 20:24 UTC
A ha! Thank you much kichik. That did the trick!