Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Incorrect progress bar with StdBA #3835
The progress bar on the StdBA (and probably custom BAs) gets to 100% before the install has completed. By enabling the debug progress logging I think I have tracked this down to the OnCacheAcquireProgress() receiving a progress greater than 100% (see log below).
This is easily recreated by creating a bundle that contains 2 MSIs both can be simple single file installs.
From the log above it can be seen that the value for overall progress reaches 168%. This then has a knock on effect as the progress bar should not exceed 30% when the cache progress reaches 100%.
I also found a problem with MSP packages. PlanExecutePackage() increments the total progress for each MSP package when, in fact, it needs to consider the BURN_MSPTARGET action. As a general solution, I'm considering a loop over the plan in CorePlan() that would calculate the total progress based on the actual plan. That should solve this problem as well.