|
|
#1 |
|
Junior Member
Join Date: Nov 2008
Location: Italy
Posts: 13
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Why not use ReadINIStr? It's especially designed for INI files. There's no need to work with ConfigRead for INI files.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2008
Location: Italy
Posts: 13
|
Thanks, i'll try ReadINIStr
Bye |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|