View Full Version : Feature Request: Download File Progress Bar
NewsArchive
03-15-2010, 02:47 AM
Friedrich,
would it be possible to add a progress bar, and possibly a "x bytes of x
total", and maybe even "(x bytes/sec)" to the Download File? Or, is there a
way this can currently be done?
Thanks,
-Glenn.
NewsArchive
03-15-2010, 02:48 AM
Glenn,
> would it be possible to add a progress bar, and possibly a "x bytes of x
> total", and maybe even "(x bytes/sec)" to the Download File? Or, is there
> a way this can currently be done?
Check the "Wait Dialog..." (see attached documentation).
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder is Windows installation -- "point. click. ship"
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
03-16-2010, 02:31 AM
Ok, is there something special I need to do? I was already displaying a
Wait Dialog.
I display it first, then initiate the download, no code between, but I am
not getting the download progress bar.
I did notice that the install progress dialog in the background was updating
the progress bar in conjunction with the download.
I could turn off the wait dialog, but I really want the user to know why
this particular file is taking so long (30mb).
code is:
[ Install Files ]
! Install SQL if necessary
If %INSTANCE_EXIST% Equals "0" Then
! Extract temporary files
Wait Dialog: Display "Downloading SQL Server 2005 Express Edition Service
Pack 3 Files..."
Download File from "www.mysite.com/install/sql/SQLEXPR.EXE" to
"%_SB_INSTALLDIR%\my_Temp" [no-cache]
etc...
The reason I am downloading this rather than including it in the install, is
I use the same script for updates, and no need to make it overly large by
including SQL. This way, my regular install is nice and tiny.
Thanks,
-Glenn.
NewsArchive
03-16-2010, 02:32 AM
Glenn,
> Ok, is there something special I need to do? I was already displaying a
> Wait Dialog.
I think I know what the problem is. The following is taken from the SB72
pre-release documentation:
http://www.lindersoft.com/forums/showthread.php?t=23158
'If the Wait Dialog is active during processing the Download File (HTTP)
function and the "Start on separate thread" option is enabled, the dialog
provides a progress bar to indicate to users how the file transfer is
going.'
I think you have the "Start on separate thread" option disabled. If you
mark this checkbox then it should work.
Does this help?
Friedrich
NewsArchive
03-27-2010, 03:58 AM
ok, still doing something wrong... here is my code:
Wait Dialog: Display "Downloading SQL Server 2005 Express Edition
Files..." [Thread]
Download File from "www.MyWebSite.com/install/sql/SQLEXPR.EXE" to
"%_SB_INSTALLDIR%\MyTemp" [no-cache]
I get the dialog displayed, but no progress bar in it.
Help?
thanks,
-Glenn.
NewsArchive
03-27-2010, 04:00 AM
Glenn,
> ok, still doing something wrong... here is my code:
>
> Wait Dialog: Display "Downloading SQL Server 2005 Express Edition
> Files..." [Thread]
> Download File from "www.MyWebSite.com/install/sql/SQLEXPR.EXE" to
> "%_SB_INSTALLDIR%\MyTemp" [no-cache]
>
> I get the dialog displayed, but no progress bar in it.
> Help?
The following works fine here (tested with SB72):
See attached project and screenshot.
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.