Archive: Change some param in the config file


Change some param in the config file
Hello.
I have got my config file(my.cfg) with text
<setting name="Language" serializeAs="String">
<value>en</value>
This my.cfg file is extract to installdir and I need to write value=en, if language of installation is English and value=ru if language of installation is Russian.


Since your config file looks to be XML, I'd suggest using an XML plugin. The most common is this one, but you can find several others on the NSIS plugins page