Prev Previous Post   Next Post Next
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
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
deprecated, installoptions, macro, read, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump