The function for the custom pages are like this but it happens with all the custom pages it seems:
thanks for any help
Function InstallMap
call InstallMapData
${If} $need_map == "no"
goto map_exists
${ElseIf} $need_map == "yes"
Call InstallMapPack
;Display the InstallOptions dialog
InstallOptions::dialog "$PLUGINSDIR\installmap.ini"
Pop $0
${EndIf}
map_exists:
FunctionEnd
-zbd