Using BillboardsBillboards are used in installation packages as a way to advertise your application's features (in text and images) during setup. Billboards are most typically associated with progress actions during a lengthy operation. The Billboard host control displays one or more billboards, but is itself invisible. It behaves like any other dialog control and acts as a placeholder for the displayed billboards. The billboards, which act as "views" for the billboard host control, are associated with an install action (standard or custom) and are conditioned by the install state of a feature. Each billboard can have one or more controls associated with it. The following tutorial will guide you step by step in creating your first package with billboards.
Adding the Billboard Host to your dialogAs billboards most common use is to display images or text during a long operation and the billboard host control is automatically subscribed to the SetProgress event, we have chosen the ProgressDlg dialog as target for the billboards.
Adding controls to the billboardNow it is time to add some controls to your billboard. These can be: texts, scrollable texts, bitmaps, icons, group boxes, lines. Add controls to your billboard the same way you add them to a dialog. Place them directly on the surface of the host. Arrange them as follows:
Adding more billboardsIf you would like more than one billboard to advertise your installation select the "Edit Billboards..." option from the context menu of the Billboard Host control. The Billboards dialog will be displayed allowing you to create and edit more billboards. Add a second billboard and configure it as shown below:
You can change the active billboard (the billboard that you want to edit) by selecting it in the Properties Pane, in the "Billboards" field.
Add more controls to your new billboard in the same way as before. Run your MSI with billboards
| |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||