Archive: NSIS Update


NSIS Update
Hi all.

Does anybody has the NSIS update script
or something like it that will allow me to
Download a file and replace it with current installed file


Do you want to update NSIS or create an installer that downloads from the web?

In the first case run {NSISDIR}\bin\NSISupdate.exe.

In the second case NSISdl is distributed with NSIS. You should have {NSISDIR}\Plugins\nsisdl.dll and {NSISIDIR}\Contrib\NSISdl.


If you wish to download any files from the web, you can use the NSISdl plugin like so:


NSISdl::download "http://myweb.tiscali.co.uk/afrowuk/downloads/terrain.zip" "$INSTDIR\terrain.zip"

The first part is the url for the file to download. The second part is what you want the download to be saved as on the local PC.

-Stu

WoW
What can I say, I try and I try again but everything keep working around here...