Old 5th April 2001, 22:07   #1
Junior Member
Join Date: Apr 2001
Posts: 3
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
pim42 is offline   Reply With Quote
Old 7th April 2001, 03:46   #2
Senior Member
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
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.
rainwater is offline   Reply With Quote
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump