cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cbarlow
Level 7

How to display progress bar when copying files from the internet?

Does anyone know how to display a progress bar when copying files from a web address to the target machine during installation? I'm using XCopyFile in InstallScript to copy some self-extracting files that I then run during the installation. The problem is that the self-extracting files are so large that it process takes anywhere from 2 to 10 minutes depending on which files the user selects. I've been looking around for a way to display the file copy progress since the copy time is not reflected in the main InstallShield progress bar, but so far no luck. Any help would be greatly appreciated.

Thanks!

Clark
Labels (1)
0 Kudos
(1) Reply
cbarlow
Level 7

Clark,

Use SetStatusWindow and reset the progress bar status to 0, then call StatusUpdate, right before you call XCopyFile. I tried it and it works great.

Good luck,

Clark
0 Kudos