Archive: WriteINIStr the only write fn?


Ok, I'm new to NSIS. It is pretty cool. I am trying to make it an installer for an Apache/mySQL/PHP package. I want the installer to search through a file (httpd.conf) and change certian values to match the installation directory. My question is can this be done? I know WriteINIStr can write to files but can you tell it where to write in an already existing file?

If the searching cannot be done please consider this a request to add that functionality. This would highly improve NSIS which is already pretty good.

Ok also when using WriteINIStr I don't want the [] or the equal sign... how can I change this?

And finally, are there any other free installer programs? Nothing against NSIS but I would like to try them all (if there are any!)

Thanks in advance


WriteINIStr is only for writing valid .ini config files. If you want other functionality, you can write your own program and make it execute at the end of the install. Just set the output path to the temp directory and delete it after its been run.