Archive: "Next" button inactive on a custom page


"Next" button inactive on a custom page
Hi,

I create a custom page that i call in a section with a call :

Function .onInit
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "TEST\install\customPage.ini" "customPage.ini"
FunctionEnd

Section "Sites" Sites
call customPage
SectionEnd

Function customPage
!insertmacro MUI_HEADER_TEXT "Search path" "bla bla bla"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "customPage.ini"
FunctionEnd


Problem : when i'm on my custom page, I can browse and get a Path name, but all buttons down the page are inactive...


I don't understand. Please explain better.

-Stu


I'm going to try

In the customFunction that i call, i use a .ini in which there's a simple "dirtext" (zone where i can browse folders)

The fact is that buttons that are down of the page are 'inactive', i can't click them (< Back, Next >,...) and can't finish my install so...


Ah ok. Just realised you have set up your custom page incorrectly. You can't call InstallOptions from a section.

Use:

Page Custom customPage

Function customPage
!insertmacro MUI_HEADER_TEXT "Search path" "bla bla bla"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "customPage.ini"
FunctionEnd

-Stu


ok i'll try

thxs