Update progress bar from custom action - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bhodso
Posts: 19
Joined: Sun Apr 20, 2008 1:11 am

Update progress bar from custom action

Is there a way to update a progress bar on a custom dialog for a long running VbScript custom action? I wanted to show progress as I run a complicated script so that the user knows something is happening. Is this possible and if so, how is best to do this?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Update progress bar from custom action

Hi,

A progress bar subscribes to the SetProgress ControlEvent, but it can also subscribe to a ControlEvent named after the action being monitored. Therefore, you can try to edit the MSI with Orca and subscribe the custom progress bar to a ControlEvent with the same name as your custom action. However, I'm not sure if this will work.

A better solution is to affect the main progress bar of the installation. Please note that there is another thread which may help you:
http://www.advancedinstaller.com/forums ... f=2&t=3968

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”