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!

cagura
Posts: 10
Joined: Thu Feb 08, 2007 3:44 pm

Set Default Value with Property

I want to set the default value in a dialog edit box to a Property value.

Property Name: DBHOST
Default Value: [ComputerName]

But all I see in the edit box when I run the install is "[ComputerName]".
I would expect to see the name of the computer instead.

What am I doing wrong?

Charles
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Charles,

The properties values in the "Install Parameters" page are not of Formatted type they are PseudoFormatted type. You can read more about PseudoFormatted type here:
http://www.advancedinstaller.com/user-g ... atted.html

Note that the "ComputerName" property cannot be used as PseudoFormatted type because it's resolved at install time (when the package runs).

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”