Archive: ConfigRead


ConfigRead
Please help me.

I need to read a INi value in an uninstall section:

Section Uninstall

DetailPrint ""
Delete "$INSTDIR\11_Decimi_Uninst.exe"
DetailPrint ""

Call Un.Engine

;---------------------------------------------------------
${ConfigRead} "$SYSDIR\VR.ini" "Base = " $PercorsoDati
;---------------------------------------------------------


But, i receive the compiler error:

!insertmacro: ConfigReadCall
Call must be used with function names starting with "un." in the uninstall section.
Usage: Call function_name | [:label_name]
Error in macro ConfigReadCall on macroline 5

Who can help me?

Thanks in advance


Why not use ReadINIStr? It's especially designed for INI files. There's no need to work with ConfigRead for INI files.


Thanks, i'll try ReadINIStr

Bye