|
|
#1 |
|
Junior Member
Join Date: Sep 2003
Location: Roswell, GA
Posts: 44
|
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? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You need to call Abort in MUI_PAGE_CUSTOMFUNCTION_PRE if you want to skip the page.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2003
Location: Roswell, GA
Posts: 44
|
That worked perfectly. Thank you!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|