Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Selectively show Directory Page with MUI (http://forums.winamp.com/showthread.php?t=192785)

Mad Doggie 7th September 2004 19:23

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?

kichik 7th September 2004 20:06

You need to call Abort in MUI_PAGE_CUSTOMFUNCTION_PRE if you want to skip the page.

Mad Doggie 9th September 2004 15:59

That worked perfectly. Thank you!


All times are GMT. The time now is 17:25.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.