Archive: use NSIS to grab winamp from the web


use NSIS to grab winamp from the web
So I see the example waplugin.nsi which offers to download winamp from the web. My question is, has anyone coded a way to grab the -latest- version? (winamp 2 perferably)


sure, now you see with the NSISdl plugin with one of this urls:

Lite=http://download.nullsoft.com/winamp/client/winamp291_lite.exe
Standard=http://download.nullsoft.com/winamp/client/winamp291_std.exe
Full=http://download.nullsoft.com/winamp/client/winamp291_full.exe


!define lite "http://download.nullsoft.com/winamp/client/winamp291_lite.exe"

Section GetWinamp
NSISdl::download ${lite} "$INSTDIR\winamp291_lite.exe"
SectionEnd


Think outside the URL
What I meant was - the latest version, regardless of what was latest when I compiled the installer.
This might take work on Nullsoft's part, to make sure http://download.nullsoft.com/winamp/...inamp_full.exe
is always the latest version for example :o . Although, it seems like you could check to see if the http://download.nullsoft.com/winamp/...mpXYZ_full.exe
exists, then increment the version number, and try again. :eek:

Is there no one that's done such a thing? :weird:


the "XYZ" will be a think from Winamp developers it self....
Why not ask them in their forum?


Nullsoft doesn't provide such a link afaik. You should put an INI file up on your website and have NSISdl use the URL in it. It would be a good idea to ask the developers of Winamp to create such a file. That is, if you can catch one :p