Skip to content
⌘ NSIS Forum Archive

MUI questions

13 posts

tieum#

MUI questions

Hello,

I have some questions about MUI.

1°) I need the finsih page to have the Back button grayed. How can I do that ?

2°) For uninstall, I use
!define MUI_UNFINISHPAGE_NOAUTOCLOSE

!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

Anyway I do not get a chance to review the INSTFILES page. Is this a bug ?

Thanks,

Matthieu
Afrow UK#
1. http://forums.winamp.com/showthread.php?threadid=224401
See 4th post down.

2. In the documentation it says that installer setting defines are the same as uninstaller setting defines.
!define MUI_UNFINISHPAGE_NOAUTOCLOSE is not in the documentation if you look. You need to use !define MUI_FINISHPAGE_NOAUTOCLOSE.

-Stu
tieum#
1. This does not seem to work here :-(. Note that unlike the case stated in your post I do not have any option on the finish page.

2. This is documented under 2. Interface Configuration / Interface Settings / Uninstaller Finish Page Interface Settings. Furthermore I also have MUI_FINISHPAGE_NOAUTOCLOSE defined and still does not stop on the log at unsinstall.
Afrow UK#
Sorry, forgot to say you need to use BackEnabled instead of CancelEnabled.

Try putting the define just before the !insertmacro MUI_UNPAGE_FINISH
If that doesn't work, you should put a SetAutoClose false in a hidden Section:
Section
SetAutoClose false
SectionEnd

Could be a MUI bug...

-Stu
JasonFriday13#
True. I have always put setautoclose at the end of the section and it has always worked for me.
glory_man#
From MUI docs:
MUI_UNFINISHPAGE_NOAUTOCLOSE
Do not automatically jump to the finish page, to allow the user to check the uninstall log.
But it is not work. Why?
dandaman32#
You could just put SetAutoClose false in your uninstall section...that works with my ExperienceUI
glory_man#
Now all work for me too. This was my mistake. [img]http://www.elite-games****conference/images/smiles/shuffle.gif[/img]