cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
harbournetworks
Level 3

How to initial Text Area control in my custom dialog?

I create a basic MSI project. And add one custom dialog in it. And there is a text area control on this dialog. How to initial the text area before the dialog is showed? I've tried to use MsiSetProperty(), but it doen't work. It just set the value of the text area control, not the text of it. So, how could I implement this? Hope anyone could help me. Thx.:(
Labels (1)
0 Kudos
(2) Replies
Cary_R
Level 11

Hi There,

If I'm getting you right, I think what you want to do is set the Text of the text area to something like:

[MYPROPERTY] and some static text.

The text area is a formatted field so property references should resolve.

Hope this helps!
0 Kudos
harbournetworks
Level 3

Cary R wrote:
Hi There,

If I'm getting you right, I think what you want to do is set the Text of the text area to something like:

[MYPROPERTY] and some static text.

The text area is a formatted field so property references should resolve.

Hope this helps!


Thank you. But could you offer me the sample code for it?
The property of the text area is TX_SITE_NAME, I just want the static text of the text area is "localhost_site". So the code could me like this in the install script?
[TX_SITE_NAME] = "localhost_site";

It seems that it cannot be compiled well. 😮
0 Kudos