AndreR
9th April 2007 16:59 UTC
Downloader
I have made a installer-example who should download 2 files. If I call this:
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?
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 :(.
kichik
9th April 2007 17:01 UTC
NSISdl doesn't support this. InetC or InetLoad might...
http://nsis.sourceforge.net/Inetc_plug-in
http://nsis.sourceforge.net/InetLoad_plug-in
AndreR
9th April 2007 17:33 UTC
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:
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...
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...
kichik
9th April 2007 17:37 UTC
You missed the PREFIX parameter of /POPUP.
AndreR
9th April 2007 20:16 UTC
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?
kichik
9th April 2007 20:21 UTC
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.
AndreR
9th April 2007 20:24 UTC
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?