Skip to content
⌘ NSIS Forum Archive

Selectively show Directory Page with MUI

3 posts

Mad Doggie#

Selectively show Directory Page with MUI

I have an installer that depending on the results of a custom page, may or may not need to display the MUI Directory Page. I guess the macro is going to get called no matter what, but depending on the value in a variable or an INI file I want to selectively skip the Directory Page.

My guess is that I need to write a custom function and then refer to it via MUI_PAGE_CUSTOMFUNCTION_SHOW right before I define MUI_DIRECTORY page. Is this correct?

I guess the function will check my variable and then call InstallOptions::show to display the dialog if necessary. What INI file should I use?