This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to display progress bar when copying files from the internet?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2008
10:42 AM
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
Thanks!
Clark
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2008
11:11 AM
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
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
![](/skins/images/7674467D6278680F3FD526C8217C9173/responsive_peak/images/icon_anonymous_message.png)