Archive: MedernUI problems with latest CVS


MedernUI problems with latest CVS
My previously working script no longer works. I understand that quite alot has changed, and i fixed most of the problems, but I can't figure this one out.

My script uses the following commands:

!define MUI_CUSTOMFUNCTION_WELCOME_PRE WelcomePageInit
!define MUI_CUSTOMFUNCTION_FINISH_PRE FinishPageInit

But the latest ModeenUI does not understand this.

What am I missing? there is no longer any mention of them. What has happened to them? how do they work now?


Define MUI_PAGE_CUSTOMFUNCTION_PRE, MUI_PAGE_CUSTOMFUNCTION_SHOW and/or MUI_PAGE_CUSTOMFUNCTION_LEAVE before you insert the page macro.


This is now REALLY confusing me (I understood the old method).

I have added the following early on in my script:

!define MUI_PAGE_CUSTOMFUNCTION_PRE
!define MUI_PAGE_CUSTOMFUNCTION_SHOW
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE

But the compiler is looks for me to assign values (function names) for these. Why? I don't want these to call any functions, I want specific pages to call functions:

!insertmacro MUI_CUSTOMFUNCTION_WELCOME_PRE "WelcomePageInit"
!insertmacro MUI_CUSTOMFUNCTION_FINISH_PRE "FinishPageInit"

Have I missed something REALLY obvious, as I am really having problems with the mass of langauage updates (will there be any more before 2.0b4 final???)

Thanks for any guidance...


Of course you should assign values to them. I am sorry if that wasn't clear from my last message.

!define MUI_PAGE_CUSTOMFUNCTION_PRE "WelcomePageInit"
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_PRE "FinishPageInit"
!insertmacro MUI_PAGE_FINISH

(will there be any more before 2.0b4 final???)
Joost said those should be the last ones before b4.