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 🙁
Search & Destroy
2 posts
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:
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
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:
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