I've tried to implement the ideas in http://www.advancedinstaller.com/forums ... f=2&t=9819 but something just isnt right.
I have a custom action which validates user database selection and returns a database patch level. I've attached this to a button, until I can figure out how to trigger this from a ComboBox change.
The custom action completes by performing:
Code: Select all
msgbox sValidVersion
Session.Property("CHOSEN_DB_COMPAT") = sValidVersion
msgbox Session.Property("CHOSEN_DB_COMPAT")
'setting AiRefreshDlg refreshes the controls on a dialog when Enhanced UI is enabled
Session.Property("AiRefreshDlg") = cstr(1)
msgbox Session.Property("AiRefreshDlg")
The annoying part is that the property is being set - I can go to the next (or previous) pane in the dialog set, and back to the dialog pane with the test on it, and the value is there - it's just not being set dynamically any longer.
What would have disabled the refresh capability when I changed media types? (and how do I regain the ability to refresh the UI?)
FOLLOW US
Get the latest news in Application Packaging