|
![]() |
| Progress Bar - More Detail |
This is a User Interface Tips example to demonstrate how MAKEMSI can may "on the fly" changes to a standard template allowing you to accept templates from other people.
The following shows how the progress dialog (in "uisample.msi") can be modified to provide a second level of progress information. I have had to do similar to InstallShield msis where their progress dialog was called "SetupProgress".
A second control is placed under the progress bar and will show files being installed removed etc. It will also show anything your custom action might generate with the "CaDebug" function.
<$Table "Control">
#(
;--- Add the progress control for the 2nd line ---------------------------
<$Row
Dialog_="ProgressDlg"
Control="ActionData"
Type="Text"
Property=""
X="35"
Y="130"
Width="300"
Height="90"
*Attributes="msidbControlAttributesNoPrefix or msidbControlAttributesVisible or msidbControlAttributesEnabled"
Text=""
Control_Next=""
Help=""
>
#)
<$/Table>
<$Table "EventMapping">
#(
;--- Map the event to the control ----------------------------------------
<$Row
Dialog_="ProgressDlg"
Control_="ActionData"
Event="ActionData"
Attribute="Text"
>
#)
<$/Table>
![]() | ![]() |