Irregular Billboard Timing - 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!

donfitz
Posts: 9
Joined: Sun May 23, 2010 6:39 pm

Irregular Billboard Timing

After updating to Enterprise 8.2, a series of 12 billboards, each with a graphic panel and text box to represent a product feature, were added to the install. The total installation time in the initial test is around 90 seconds. For the first 20+ seconds, no billboards display. Then the last two billboards in sequence in the Edit Billboard Dialog appear first, followed by four or five others from the start of the Edit list. The timing is very erratic, with some of the billboards flashing so fast they're difficult to recognize, and the last billboard to display appearing for over a third of the total time.

1) Is there a way to control the display order to assure appearance from beginning to end of the desired sequence?

2) Is there a way to make the display time of each billboard closer to the same fraction of the total elapsed Install time? The ideal would be to switch between billboards based on total bytes transferred as files are copied. It appears that timing by default might be based on file count, which is a problem because file sizes range from a few KB to almost 10 MB.

T'hanks,
Don Fitzpatrick
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Irregular Billboard Timing

Hi Don,

Windows Installer billboards are associated with the actions you specify. So if you set InstallFiles action for all billboards, they will be shown only when that action is executed. For the rest of installation process they are hidden. This is why you are encountering this behavior. Basically, they are designed to be used for very large installers which use lengthy operations.

For a fast installation (under 10 minutes) we recommend a HTML host control which includes custom HTML billboards. A future version of Advanced Installer will include a custom billboards control in enhanced UI which offers more control.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
donfitz
Posts: 9
Joined: Sun May 23, 2010 6:39 pm

Re: Irregular Billboard Timing

Cosmin,

I realize that if the billboard host control containing the billboards is on the Progress Dialog that the billboards will only appear during the time that the Progress Dialog is visible, but that's a majority of the install time, so it isn't a problem. What's troublesome is getting the billboards to display in a reasonably uniform rate during the time that the Progress Dialog is visible.

What's happening during the roughly 20 seconds after the Install button is clicked and the first InstallFiles Action occurs? Are there other actions that can be selected to initiate display of billboards between clicking Install and the initial InstallFiles action? I've experimented with the various actions that appear in the list box in the Edit Billboards Dialog but none of them except InstallFiles seem to make billboards visible. It would seem that the initial 20 seconds could be used for billboard display.

If the number of billboards is reduced to four or five, relative timing is more uniform. However, the last billboard in sequence in the list in the Edit Billboards Dialog displays first, followed by the others in sequence.(?) This appears to be a bug unless there's some other setting that can better enforce the billboard display sequence. I've juggled the sequence quite a bit and the last in the list always displays first.

Is there any way to link billboard activation with a percentage of the Progress bar in the Progress Dialog? The progress bar appears to advance based on percentage of bytes transferred which would be a better way to apportion the display time among the billboards. The HTML host control offers considerable formatting flexibility, but I don't see any better access to Progress Dialog events to make billboards display for a similar portion of the Progress Dialog display time.

Thanks,
Don
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Irregular Billboard Timing

Hi Don,

I was referring to the InstallFiles standard action. Please check the Standard Actions article for a clearer view. InstallFiles action is just a fraction of the entire installation process (InstallExecuteSequence). This is why the billboards are not displayed based on the installation progress.

Regarding the HTML host control, we recommend using time periods instead of progress for changing the billboards. For example, each billboard can be shown for 5 seconds. Something similar to our Slideshow feature.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
donfitz
Posts: 9
Joined: Sun May 23, 2010 6:39 pm

Re: Irregular Billboard Timing

Hi Cosmin,

After spending considerable time experimenting with all of the standard actions that list in the Edit Billboard Dialog, I've only found billboards to be triggered reliably with InstallFiles, RegisterFonts, and SelfRegModules, even though it would seem that some actions like FileCost would have to be executed, regardless of the install procedure options as long as files need to be installed.

Is there any other way to trigger display of a billboard in the 20 seconds or so after clicking Install? Possibly by utilizing some install function for a null action, even if it's not needed?

With regard to timing, since computer performance varies over such a wide range, using fixed-time display intervals wouldn't seem to be an attractive option. That's also why the HTML host control doesn't look like an appealing approach, in addition to the complexity involved. The resulting display could range from half or less of the billboards getting displayed to the last billboard displaying for half or more of the total install time. A much better approach would seem to be to be able to tie billboard display to the same progress indication used to display install status.

Thanks,
Don
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Irregular Billboard Timing

Hi Don,
Is there any other way to trigger display of a billboard in the 20 seconds or so after clicking Install?
Not really. Windows Installer uses deferred actions as triggers.
With regard to timing, since computer performance varies over such a wide range, using fixed-time display intervals wouldn't seem to be an attractive option.
I see it the other way around. On a slow machine each billboard will be shown for a longer time and on a fast machine the billboards will be displayed rapidly one after another. If you use a timer, the cycle is the same on all machines and you can control it so it's not too fast or too slow.
A much better approach would seem to be to be able to tie billboard display to the same progress indication used to display install status.
I'm afraid that this is not supported by Windows Installer.

For your package there isn't a quick solution which looks like you want. Your installation does take some time, but not enough to fall into the billboards category (from the Windows Installer point of view).

We can recommend either a HTML host control with a custom billboard, or an image slideshow.

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

Return to “Common Problems”