ShisK
27th September 2004 10:07 UTC
"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...
Afrow UK
27th September 2004 17:41 UTC
I don't understand. Please explain better.
-Stu
ShisK
27th September 2004 19:01 UTC
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...
Afrow UK
27th September 2004 19:26 UTC
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
ShisK
27th September 2004 19:49 UTC
ok i'll try
thxs