How to dynamically update a property reference value in the text attribute of a static text control?
When using a Windows Installer Formatted TypeFormatted Property reference in the Text attribute of a Static Text control, at install time the formatted property reference is not refreshed until the dialog controls are not refreshed.
To change this default behavior and dynamically update the value of the Text attribute, use the same property for the Static Text and for its Text attribute
Please follow the steps:
- Go to Dialog Editor Page
- Create a new Static Text control on one of the dialogs
- Assuming the property name of this Static Text control is TEXT_1_PROP, enter its the formatted reference, [TEXT_1_PROP] in the Text attribute field of the control.
Now, at install time, the text attribute of the control will be dynamically updated when the value of the TEXT_1_PROP property changes.