We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

indrekm
Posts: 4
Joined: Fri Oct 26, 2007 10:53 am

Conditional registry update

How to do this:
If EditBox is enabled write to registry text from this editbox.
Otherwise write default value "xxx"
Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Hi there

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.

Return to “Common Problems”