Old 30th November 2007, 13:25   #1
Junior Member
Join Date: Nov 2007
Posts: 34
help on INI files

hi all,
i am a beginner to NSIS.i have an installOptions file which contains a text field,i want to display the value in that text field from another ini file

for example if my installOptions file is ab.ini now i want to display the value for the text field in (ab.ini) from another file say Config.ini.How to do this .. Help will be appreciated...

thanks in advance.
vignesh447 is offline   Reply With Quote
Old 30th November 2007, 19:34   #2
Debian user
(Forum King)
Joel's Avatar
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
I don't know, probably something like this:

ReadINIStr $0 "somefile" "Somesection" "somekey"
WriteINIStr "anotherfile" "anothersection" "anotherkey $0

* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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