Archive: Need help with a multi-section install that requires an append to a text config file.


Need help with a multi-section install that requires an append to a text config file.
yes i know im a noob, had this thrown at me to learn. What I am needing to do, I believe, is a an install with alot of choices for sub installs that will effect a single config file. from what I read this means a multi-section setup.

So 1) am i trying to do this the right way?

and 2) is there a good way to modify a text config file that can have many options applied against it.

Many thanks in advance.


1) Yes, see one-section.nsi
2) If it is a INI type file you can use WriteINIStr, otherwise you can probably use TextFunc.nsh's ConfigWrite.

Stu


Many Thanks Afrow I will give that a shot.