neorage
24th January 2005 19:56 UTC
Search & Destroy
Hi i'm a begginner using NSIS.
i just want to know if with some code i can:
1.- Search for a "file.txt" and Replace some lines in it
2.- Modyify and add new enviroment values
3.- and recognize if is installed some programs like:
- PostgreSQL
- PHP
- Apache Servers
Please Somebody save me :(
Afrow UK
24th January 2005 20:50 UTC
You'll find three search functions here:
1: http://nsis.sourceforge.net/archive/...ances=0,11,211
2: http://nsis.sourceforge.net/archive/...ances=0,11,211
3: http://nsis.sourceforge.net/archive/...ances=0,11,211
There are tonnes of file manipulation functions here:
http://nsis.sourceforge.net/archive/...instances=0,11
As for finding if specific programs are installed, you'd need to check in the registry. Those programs should all have their own unique registry entries which you could use ReadRegStr on to check if they exist.
-Stu