I'm assuming you've got the enterprise license (since you can edit dialogs). The easiest way to do what you've got in mind would be to first create a property, say "Data", in the Install Parameters screen. Then add a "Set Property" published event to the next control on the dialog with the edit box. Change [PropertyName] to [Data] and set "Argument" to the property bound to the edit box (you can see what it is if you look at its' properties). Now set the condition on this event based on the same property you use to disable and/or enable the edit box, so that this event only occurs when the edit box is enabled.
You can add a registry key in the registry view and set its value to [Data].
This might not be very clear but hopefully you get the idea.
FOLLOW US
Get the latest news in Application Packaging