Hello,
You may want to update your label text either with or without Enhanced UI.
With Enhanced UI
In order to initiate a refresh on an Enhanced UI Dialog, you only need to set the AiRefreshDlg property. Each time AiRefreshDlg is being set, the user interface refreshes.
Below is a sample script that increments a property, then refreshes the dialog to display the updated property
Code: Select all
Dim x
x = Session.Property("MYPROP")
x = x+1
Session.Property("MYPROP") = cstr(x)
'setting AiRefreshDlg refreshes the controls on a dialog when Enhanced UI is enabled.
Session.Property("AiRefreshDlg") = cstr(1)
Without Enhanced UI
The UpdateMsiEditControls Custom Action is responsible for refreshing an MSI dialog. Described below is the proper usage of this custom action.
- on the Custom Actions page, right click "UI Custom Actions" and select "Add Predefined UI Custom Action"->"Update MSI Edit Controls"
- this custom action needs to be called after the published event that changes the property, as seen in the screenshot below.

- published.events.image.screenshot.JPG (27.48 KiB) Viewed 4702 times
Also, below is a sample project that implements this for both cases.
Regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging