Consider using preprocessor variables? -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Monday, October 19, 2009 6:32 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] WiX Controls: Expanding properties to text?
It all depends. The expansion will occur whenever the field is of type "formatted" and won't wherever it isn't. You may have to look to see which database column each field is stored into to see what the column data type is (to know what the possibilities are, see this page: http://msdn.microsoft.com/library/aa367869.aspx). To get property expansions, the column must be from this list: Path Paths AnyPath RegPath Formatted FormattedSDDLText Template Shortcut In your case, if you look at the Control element in the WiX help file, you will see that the attributes you used are all stored in the Control table. The various attributes you used go into the following: Attribute Column ColumnType Id Control Identifier Type Type Identifier X X Integer Y Y Integer Width Width Integer Height Height Integer Text Text Formatted ToolTip Help(first part) Text The only expansion that happens in this table is the Text column, which comes from the Text attribute of the Control element. So, no bug. -----Original Message----- From: mrtn [mailto:mrtn.frederik...@gmail.com] Sent: Monday, October 19, 2009 12:05 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX Controls: Expanding properties to text? Hi, When using a property as text in a control. Some gets expanded some don't. Here is an example: <Control Id="Test" Type="PushButton" X="10" Y="10" Width="100" Height="20" Text="Test: [ProductName]" ToolTip="Test: [ProductName]" /> The button text gets expanded. Like: "Test: MyAppName" But the tooltip dont: "Test: [ProductName]" The tree control also do this. Is that a bug? // morten -- View this message in context: http://n2.nabble.com/WiX-Controls-Expanding-properties-to-text-tp3851174p385 1174.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users