cheryll
24th April 2009 14:55 UTC
Search and Replace macro for files
Is there a macro that would allow me to search through a file and replace a specific string with another?
I assumed that would be a common problem, but I don't seem to be able to find a macro for it.
Or is it so easy that no macro is needed? If so could someone give me a hint how it is done?
Animaether
24th April 2009 16:40 UTC
o_O
http://www.google.com/search?&q=site...ch+and+replace
Really, the difficult part is that there are so many to choose from, that it can be difficult to pick the one right for you. It's like all the .NET version retrieval macros.. there's half a dozen at least (and none seem to actually get it right - d'oh).
grs1961
24th April 2009 16:44 UTC
Use ReplaceInFile, in the wiki, http://nsis.sourceforge.net/ReplaceInFile