Is there any way to access the properties of a control that's on a dialog, from within a LuaScript file using the control's "Control ID"? For example, I would like to read and change the text of a Text Control that's on a dialog, based on results from within a LuaScript file.
Announcement
Collapse
No announcement yet.
Accessing a control's properties via LuaScript
Collapse
X
-
I fear that you won't be able to do this, as Windows Installer does not provide features to refresh the UI at runtime. If you want to control the text displayed in a MSI dialog, you can use a property. Set the property with the desired content before the screen is shown, based on the script, condition, etc.
Ulrich
Comment