views:

32

answers:

2

I have a WiX installer project which has recently been producing installers that don't show any file installation progress. That stage takes around 30 seconds to complete, and users may think that the install has hung since the progress bar remains empty until the install suddenly completes.

I know there used to be a progress bar for the installation, but not when the change occurred.

I'll start to narrow down what change caused this, but are there any common causes for this problem?

+2  A: 

Did you create any custom actions? If so, be aware that you need to implement ProgressText messages and / or pump messages to update the ticks on the ProgressBar control.

Christopher Painter
I do have some custom actions, but I don't believe any were added since the progress bar was working (though I could be wrong). Could a custom action which gets called early in the installation sequence interfere with the progress bar for the InstallFiles stage?
Dave Andersen
It turns out that the progress bar for the InstallFiles stage was working fine, but we moved a lot of files out into a separate installer pre-requisite, and that made the custom actions with no progress much more noticable.
Dave Andersen
+1  A: 

Generate a verbose log file. The log file will have timestamps for all the actions (look for Action Start: type messages). A quick script can shred the log file and give you the times between actions. I did this for a few months at the end of Office2003 as we tracked down performance issues in the install. I wish I still had the VBScript (yeah, yeah, I know) that I wrote to get me the numbers.

It almost always comes down to custom acitons.

Rob Mensching
Using the log timestamps seems like such an obvious answer, and yet I hadn't done that yet. It was pretty helpful for verifying where the time was going.
Dave Andersen

related questions