Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Search & Destroy (http://forums.winamp.com/showthread.php?t=205845)

neorage 24th January 2005 18:56

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 19:50

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


All times are GMT. The time now is 04:44.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.