There are a couple of things that you may not see when creating very basic installs. When you install a product, the progress bar may go from 0 to 100, a couple of times. In a setup I worked on, my progress bar did the following:
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.