golf4r
Posts: 11
Joined: Tue Feb 24, 2015 11:56 pm

Help with edit box

Hi,

In a normal dialog, I am using an editbox.

I want this editbox to have the default value of [ComputerName] but for the user to be able to "change" it and then use this changed value in the end when replacing in a file.

I cannot achieve this because for the EditBox to have the comptutername value, I have to use this as property name and then I cannot use the "changed" value later.

How could I achieve this?

Thank you!
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Help with edit box

Hi,

In order to achieve this you can select your edit box, then set the desired property name for it in the "Property Name" field from the "Properties" pane. You can also set a default value in the "Default Value" field from the same pane.

Please make sure that you use a public property (only uppercase letters) in order for the new value to be passed from the "Dialogs" stage to the "Install" stage.

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

Return to “Building Installers”