Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2010, 09:55   #1
dazzathedrummer
Junior Member
 
Join Date: Mar 2010
Posts: 6
dumb newbie question......

Hi,

I've just stumbled upon this program and as i'm a big fan of winamp and Reaper, I thought id give it a go.

I'm wondering if I can use it to create an installer that will install an mp3 file to a prompted location from a website.

example..

-Website with a download button that launched installer.
-user click button, prompted to run installer (not save).
-Installer prompts user for download path.
-installer extracts mp3 to chosen location (eg My Music or iTunes folder)

thats it.

can this be done??

thanks

Darren
dazzathedrummer is offline   Reply With Quote
Old 4th March 2010, 10:47   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,840
Of course. Just make a basic installer that extracts the mp3 file to the specified path.

To learn NSIS, start by examining NSIS\examples\example1.nsi and example2.nsi . Use the command reference to learn what the commands do: http://nsis.sourceforge.net/Docs/Chapter4.html
MSG is online now   Reply With Quote
Old 4th March 2010, 11:13   #3
dazzathedrummer
Junior Member
 
Join Date: Mar 2010
Posts: 6
Great, can you recommend a script that I can edit as a starting point?
dazzathedrummer is offline   Reply With Quote
Old 4th March 2010, 11:26   #4
dazzathedrummer
Junior Member
 
Join Date: Mar 2010
Posts: 6
sorry, I just got the second part of your post - the bit where you told me what to do haha.
dazzathedrummer is offline   Reply With Quote
Old 4th March 2010, 13:00   #5
dazzathedrummer
Junior Member
 
Join Date: Mar 2010
Posts: 6
I've got that working now - Thanks for your help!!

Just wondering, how easy would it be to have an email address field where the user types in their email address and, upon installation, that information is captured either by appending a text file on my site or through email?
dazzathedrummer is offline   Reply With Quote
Old 4th March 2010, 15:06   #6
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,840
Getting the mailadres requires a custom page using nsDialogs. Sending it to your server is more complex. You can't use e-mail for that - e-mail works completely different on different pc's. You could use one of the internet plugins, to open a php script which saves the parameter to a file on the server. Talk to a sysadmin.
MSG is online now   Reply With Quote
Reply
Go Back   Winamp 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