This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: A simple $P(xxxxxx) resolver question ...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2006
12:49 PM
A simple $P(xxxxxx) resolver question ...
Hi,
Where can I find a list of the variables such as: vendor, displayName, etc. that the $P string resolver resolves. I have searched the help and online and I can't seem to find it.
Please advise,
thanks
Where can I find a list of the variables such as: vendor, displayName, etc. that the $P string resolver resolves. I have searched the help and online and I can't seem to find it.
Please advise,
thanks
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2006
04:09 AM
I think the best way to check what properties are available is to open the ".uip" project with a text/XML editor and see the properties for every bean yourself. All those should be available using "$P".
$P(vendor) is just accessing the "vendor" property of the root bean.
$P(vendor) is just accessing the "vendor" property of the root bean.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2006
09:00 AM
If you look at the inline help for a bean property, the "internal" name you use with a $P expression is listed in parentheses: for example, the inline help for the Active property has heading "Active (active)".
In general, the rule is that a single-word property just has its first letter switched to lowercase for the $P version (Active-->active, Visible-->visible, and so on), and multi-word properties have the words smashed together with the first letter of the whole result converted to lowercase (Install Location-->installLocation, and so on).
There are exceptions and special cases ("Company Name" maps to "vendor"; "Install Location" feeds into the often more useful "absoluteInstallLocation" property), though, so check the documentation if something isn't resolving the way you expect.
In general, the rule is that a single-word property just has its first letter switched to lowercase for the $P version (Active-->active, Visible-->visible, and so on), and multi-word properties have the words smashed together with the first letter of the whole result converted to lowercase (Install Location-->installLocation, and so on).
There are exceptions and special cases ("Company Name" maps to "vendor"; "Install Location" feeds into the often more useful "absoluteInstallLocation" property), though, so check the documentation if something isn't resolving the way you expect.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 19, 2008
06:34 AM
Thanks Robert 🙂 , you saved my time.....
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)