Archive: Read an ini file


Read an ini file
How can i read completely a ini file?
Thanks


what do you mean by completely? use ReadINIStr to read it


i DON'T KNOW EXCATLY THE NUMBER OF LINES THAT THE INI FILE HAS
SO I NEED TO READ ALL THE FILE
tHANKS


maybe attach your ini-file, i don't understand why it'd be necessary to know the number of lines.

though i don't know how it could help you, there's LineSum script in the archive.


It's necesary because the installer has an ini file and the program has another ini file that dont has to match because the user could have modified preferences in the software that i dont want to be owerwritten with my new ini file,that i've distributed with the new setup.exe

Is there anyway to read a file from the beginning to the end of the file?


Is this what you want?


So basically, you want to append the stuff from your first INI file into your second?

This is the function you need:
http://nsis.sourceforge.net/archive/...nstances=0,770

-Stu