!insertmacro: MUI_INSTALLOPTIONS_READon the last line of code
Usage: ReadINIStr $(user_var: output) ini_file section entry_name
Error in macro MUI_INSTALLOPTIONS_READ on macroline 5
;**********************************************************
;Mathematica Directory Page
!define MathDir
ReserveFile "MathLocal.ini"
LangString MATHLOCAL_TITLE ${LANG_ENGLISH} "Please enter the loaction of Mathematica"
LangString MATHLOCAL_SUBTITLE ${LANG_ENGLISH} " "
Page custom mathpage
;********************************************************
;**********************************************************
;runs the function needed for the custom page
Function .onint
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "mathlocal.ini" "MathLocal"
FunctionEnd
;gets values of the custom page
Function mathpage
!insertmacro MUI_HEADER_TEXT "$(MATHLOCAL_TITLE)" "$(MATHLOCAL_SUBTITLE)"
;displays the custom page
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "MathLocal"
;gets the user entered values
!insertmacro MUI_INSTALLOPTIONS_READ $MathDir "MathLocal" "Field 1" "State"
FuncitonEnd
;**********************************************************
i can figure it out i have read all the help and example files and been at it all day. any help would be much appreciated
thanks
jonathan