ProgressBar to 100% immediately
Posted 24 September 2003 - 13:32
I have several Features with Databases to install. The size of this Features are > 2GB.
In the "SetupProgress" Dialog the ProgressBar run immediately to 100% by starting to copy the Features and is waiting there for several minutes until the copy process is working. This only happen if the Features are bigger than 2GB.
I think this is a bug because I can reproduce this problem with every "Basic MSI" Projekt if the size of the Features are > 2GB.
Please help me because my setup needs to be "user-friendly".
Posted 25 September 2003 - 20:41
The first time it goes from 0 to 100, it can happen in a fraction of a second, or it could take a few seconds, depending on the size of your setup (number of components, properties, directory table entries, custom actions, etc.). For a product I worked on, this took about 2 or 3 seconds. 0-50 happened quickly, then it stopped on 50% for the 2 or 3 seconds, then it flew up to 100%.
Now the progress bar resets it self at 0, and the file copy process starts. It slowly works it way up to 100%. Since it was a large product, this took a while.
Once the files have all been copied, and the registry keys have been created, it does all the finalization events. Now the progress bar resets itself to 0, and begins the removal of the rollback files while incrementing the progress bar. This usually lasted no more than 2 seconds. Sometimes it would occur so fast, that the progress bar just went from 0, to 50, then 100% in the course of one second.
One other thing, if you are doing an upgrade, or a nested install, you may see additional progress bar events.
Edited by mgama_123, 25 September 2003 - 20:41.
Posted 26 September 2003 - 08:08
Thank's for your answer. My setup is doing the same thinks like your setup. Only in the file copy process the ProgressBar run immediately from 0 to 100% and is waiting there for many minutes. Once the files have all been copied and the finalization events starts the ProgressBar is working fine again.
I have to install many big files and databases (the setup start from a DVD-R). If I add the size of the files they are about 2,4 GB.
If I delete some files and the size is for example 1,8 GB the ProgressBar is working fine. Only if the size is over 2GB I have the problem with the ProgressBar.