Old 16th May 2003, 09:58   #1
Yovav
Member
 
Join Date: May 2003
Location: Holy Land
Posts: 63
Send a message via ICQ to Yovav
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
Yovav is offline   Reply With Quote
Old 16th May 2003, 12:59   #2
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
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.
Sunjammer is offline   Reply With Quote
Old 16th May 2003, 15:10   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
If you wish to download any files from the web, you can use the NSISdl plugin like so:
code:

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
Afrow UK is offline   Reply With Quote
Old 16th May 2003, 21:32   #4
Yovav
Member
 
Join Date: May 2003
Location: Holy Land
Posts: 63
Send a message via ICQ to Yovav
WoW

What can I say, I try and I try again but everything keep working around here...
Yovav is offline   Reply With Quote
Reply
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