Dialog Text Control "Property" Property - Advanced Installer Community
Dunkelmann
Posts: 3
Joined: Fri Jul 26, 2013 3:21 pm

Dialog Text Control "Property" Property

I have a dialog that I am updating. I don't know which version of AI it was produced in.

It has a Text control. That text control has Property Groups: Identification, Display, Attributes and Layout.

I added two new Text controls (AI version 8.6). Both of these have an additonal Property Group "Property" with two properties: "PropertyName" and "Default Value".

First question: Why doesn't the original Text control have a Property Group called "Property". Is it because it was produced in an old version of AI and AI don't upgrade Text controls?

Second question: Reading the help regarding the "Property" group, the help says "Specify the name of the property associated with the currently selected control. You can directly edit the property's name or use the [ ... ] button to select an existing one." I don't understand what this property is used for. I know it is "associated with" the control but what does that mean? How do I use it?

Thanks.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dialog Text Control "Property" Property

Hi,
First question: Why doesn't the original Text control have a Property Group called "Property". Is it because it was produced in an old version of AI and AI don't upgrade Text controls?
Please keep in mind that this is the normal behavior, predefined text controls do not have a related property in any version of Advanced Installer. If you want a property for those controls you can replace them with new text controls with the same description text.
I don't understand what this property is used for. I know it is "associated with" the control but what does that mean? How do I use it?
Each property has a corresponding value. That value can be predefined (i.e. Windows Installer Properties), can be set when the project is configured (in the "Default Value" field) or can be set by the user or by the application during the installation of the product.

For example, if you add an "Edit Box" control you can set for its property a default value, which will be displayed during the installation and the user can introduce another value in that edit box which will become the value of the property.

These properties are usually used as conditions (i.e. for the installation of some files), can be stored in the registry or in some files and used later in the application, etc. Their type can also be Formatted or PseudoFormatted.

Let us know if this helped and do not hesitate to ask us any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”