Old 9th April 2007, 15:59   #1
AndreR
Junior Member
 
Join Date: Sep 2006
Posts: 9
Downloader

I have made a installer-example who should download 2 files. If I call this:
code:
Function Test
NSISdl::download http://andrer.uttx.net/Privat/GMVT_01.swf GMVT_01.swf
NSISdl::download http://andrer.uttx.net/Privat/Report.htm Report.htm
FunctionEnd

the installer made two seperated download windows. How can I add a few files in only one window and only have to add on /Translate argument?
code:
Function Test
NSISdl::download
http://andrer.uttx.net/Privat/GMVT_01.swf GMVT_01.swf
http://andrer.uttx.net/Privat/Report.htm Report.htm
FunctionEnd

This wouldn't work for me .
AndreR is offline   Reply With Quote
Old 9th April 2007, 16:01   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
NSISdl doesn't support this. InetC or InetLoad might...

http://nsis.sourceforge.net/Inetc_plug-in
http://nsis.sourceforge.net/InetLoad_plug-in

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th April 2007, 16:33   #3
AndreR
Junior Member
 
Join Date: Sep 2006
Posts: 9
And how can i use the Popup-Mode? Could everyone write a example function? My code doesn't download everything if i hit the popup-argument:
code:
Function Test
InetLoad::load \
"http://andrer.uttx.net/Privat/GMVT_01.swf" "GMVT_01.swf" \
"http://andrer.uttx.net/Privat/Report.htm" "Report.htm"
FunctionEnd

works for me...
code:
Function Test
InetLoad::load /POPUP /TRANSLATE URL Herunterladen... "Verbindung herstellen..." Dateiname Dateigröße "Geschätzter Zeitverbrauch" Gessamtzeit \
"http://andrer.uttx.net/Privat/GMVT_01.swf" "GMVT_01.swf" \
"http://andrer.uttx.net/Privat/Report.htm" "Report.htm"
FunctionEnd

doesnt work...
AndreR is offline   Reply With Quote
Old 9th April 2007, 16:37   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You missed the PREFIX parameter of /POPUP.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th April 2007, 19:16   #5
AndreR
Junior Member
 
Join Date: Sep 2006
Posts: 9
And in the stadartmode: There are two progressbars, on on the top and one on the bottom. The bottom one is for the progress of the curent file, but what shows the top one? The bar shows 50% the whole time... Can I update the bar manually or is there a function to update the bar automaticully?
AndreR is offline   Reply With Quote
Old 9th April 2007, 19:21   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
That's the installer's progress bar. You can set the text above it using DetailPrint. The progress shown in it is affected by the commands executed, not by NSISdl or InetLoad.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th April 2007, 19:24   #7
AndreR
Junior Member
 
Join Date: Sep 2006
Posts: 9
Oh, thank you... I think, I had to call the downloader directly and not over a function... I try it!

€dit:
No, the bar doesn't move... hav everyone an idea?

Last edited by AndreR; 9th April 2007 at 19:47.
AndreR 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