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!

prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

Unable to edit property name

Hello,

I added a custom dialog to my installer and I added 3 edit text to it.

When I try to change the "Property Name" of those edit texts, I get a warning message "You are using a private property. Public properties are recommended to capture user input."
And when I use this new property name in one of my custom actions in the later stage, it's blank.

How can set a public property name for the edit box?

Thank you
Prerak
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Unable to edit property name

Hi Prerak,

A public property contains only upper-case letters and numbers in its name, while a private property contains lower-case letters, too. You can read the "Windows Installer Properties" article for more details.

So, in order to use the values of the edit boxes properties in your custom action you need to set their names to not contain lower-case letters.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

Re: Unable to edit property name

Okay. Thank you very much for the information.
I have one more question though.

During installation AI unpacks the installation files at some place on the users machine. Is there a variable which contains this path? Is it the variable "SourceDir" or something else?

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

Re: Unable to edit property name

You're welcome Prerak.

The property that contains the path where the application files will be installed is the "APPDIR" property.

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

Return to “Common Problems”