开发者

How to add a progress bar so the user doesn't hit Cancel in a dialog?

开发者 https://www.devze.com 2023-03-11 13:33 出处:网络
I\'m working with Installshield 2011 on a basic MSI project. The problem I have is that the SetupInitialization dialog is taking about 2 to 3 minutes when performing upgrades. During those minutes th

I'm working with Installshield 2011 on a basic MSI project.

The problem I have is that the SetupInitialization dialog is taking about 2 to 3 minutes when performing upgrades. During those minutes the users only see:

Computing space requirements

And nothing seems to be happening.

I'd like to add some kind of progress bar so they become aware that someth开发者_如何学JAVAing is happening and that they shouldn't hit cancel (We've documented that this steps takes a while, but of course everybody reads the documentation, right?)

I've tried adding an animated GIF file with some kind of progress bar, but seems like GIF files are not permitted in dialogs.

Now I'm exploring the Progress Bar control, but I'm not sure this is the right way to go.

Does anybody know how can I achieve what I need?

Thanks,


Unfortunately this is not supported by MSI packages.

Do you have custom actions in InstallUISequence? If you do, make sure that you set an Action Text for them. The initialization dialog should display the action text for all InstallUISequence actions executed before the first modal installation dialog.

If you don't have custom actions, but you have a very large installer, you have limited options.

A solution would be an external UI which can display an indeterminate progress. For example a HTML control. Not sure if InstallShield supports a custom progress bar in HTML, but you can try.

0

精彩评论

暂无评论...
验证码 换一张
取 消