|
#1
|
||||
|
||||
|
Screen: Download File Progress
Last Revision: September 21, 2004 (001) Overview This screen downloads a file from the Internet on a progress bars screen. Full progress and statistics are displayed during the download. The Cancel button cancels the download. As well as being useful in your projects, this screen will also teach you how to:
Author Information This screen was created for use by registered owners of Setup Factory 7.0 by Brett Kapilik. Indigo Rose Corporation does not provide support for any 3rd party screens or addons. Installation Instructions To make this screen available to your Setup Factory 7.0 projects, follow the steps below:
Next, double click the screen and then click the Actions tab. Go to the On Preload event and set the strSourceURL, strDestinationFile and bIsBinaryFile variables. You should now be able to build and test the screen. Screen Name: Download File Progress Type: Setup Factory 7.0 Screen Created By: Brett Kapilik Comments? Please post them here. Last edited by Brett; 09-21-2004 at 04:09 PM. |
|
#2
|
|||
|
|||
|
Is there a way to have this download more than one file on this screen?
|
|
#3
|
|||
|
|||
|
You should be able to use any of the 'Download Multiple Files' screens already built into TU2 to accomplish this.
|
|
#4
|
|||
|
|||
|
just a simple question, im using this download and i love it but is it possible where the path is to store it to have it so it download to the current location of the setup ???? i hope someone knows what i mean.
|
|
#5
|
|||
|
|||
|
the Lua builtin variable _SourceFolder will return the full Folder path to mysetup.exe.
find the action in the download script that sets the destination path and change it to for eg: _SourceFolder.."\\mydest.ext" or _TempLaunchFolder.."\\.... will dload to where irsetup.exe is running. HTH ..another thing to consider when dloading to dests is to perform a drive.getfreespace check look it up in actions ..you can use the dest folder full path if ya like. Last edited by Eagle; 04-12-2005 at 09:52 PM. |
|
#6
|
|||
|
|||
|
thanks, apreciate it.
|
|
#7
|
|||
|
|||
|
have fun
|
|
#8
|
||||
|
||||
|
thanks m8 was looking for working example you solved my very big problem
|
|
#9
|
|||
|
|||
|
I think that I found a bug, the actions in "on finish" also happen when the download is canceled.
|
|
#10
|
|||
|
|||
|
and, there is any way to download the file to %AppFolder%//*?
|
|
#11
|
||||
|
||||
|
In the OnStart
change Code:
strDestinationFile = _TempFolder.."\\myfile.zip"; Code:
strDestinationFile = SessionVar.Expand("%AppFolder%\\myfile.zip");
Last edited by jassing; 01-11-2007 at 08:11 PM. Reason: Forgot a quote |
|
#12
|
|||
|
|||
|
oh, thanxs.
|
|
#13
|
|||
|
|||
|
I just noticed if the file was already download before and their are at the "strDestinationFile", when the programs starts to download it again their just override the fully downloaded file by the "downloading one", who is incomplete.
There is any way to avoid this?, maybe disable the override or something, or a warning or something that gives you a chance to abort the download before the file be deleted. |
|
#14
|
||||
|
||||
|
Quote:
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Download and Install Files from the Web | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-23-2002 02:16 PM |
| HOWTO: Install a Screen Saver | Support | Setup Factory 6.0 Knowledge Base | 0 | 09-27-2002 02:35 PM |
| Progress Screen | csd214 | Setup Factory 6.0 | 4 | 02-13-2002 03:00 PM |
| SUF6002: Progress Screen without User Interaction | Hajo | Setup Factory 6.0 | 0 | 12-15-2001 08:27 PM |
| Install only into one of several directories with specific existing file? | RichardShaw | Setup Factory 5.0 | 0 | 08-17-2000 03:29 PM |
All times are GMT -6. The time now is 08:06 PM.









Linear Mode

