View Single Post
Old 28th July 2012, 11:16   #1
nawfal
Junior Member
 
Join Date: Jul 2012
Posts: 22
Ideal way of reading IO ini file

I could do this:

code:
!insertmacro INSTALLOPTIONS_READ $VAR "ioFile.ini" "Field 1" "Name"


or

code:
ReadINIStr $VAR $PLUGINSDIR\"ioFile.ini" "Field 1" "Name"


Both works, but what is the ideal way of reading Field 1's Name? I ask 'coz I hear many options in NSIS are deprecated these days. Also what difference it makes?

I use

code:
!insertmacro INSTALLOPTIONS_WRITE "ioFile.ini" "Field 1" "Name" $VAR


to write values though..
nawfal is offline   Reply With Quote