[EMAIL PROTECTED] wrote:
To clarify Rennie's comment...
Yes, you will need a custom action, but not one that you code
manually. The already available "Type 51" custom action (see the
<CustomAction> element, specifically the "Property" attribute) should
be able to handle what you need if the user just enters the server
name. (I.e it should be possible to build the actual URL - the value
attribute would contain something like
"tcp://[USER_ENTERED_SERVER_NAME_PROPERTY]:11232/", possibly using
other properties for the protocol and port areas.)
Of course, this may not be appropriate in your scenario, but I'd
certainly recommend it over a string manipulation custom action you
create yourself.
Regards,
Richard
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Rennie
Petersen
*Sent:* Thursday, May 24, 2007 7:57 AM
*To:* Rik; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] WiX and string formatting
I believe that you will need a custom action.
You don't necessarily need a custom action -- it depends on what you
need the value for. For example, any field that supports formatted text
can take multiple property references:
tcp://[SERVER]:[PORT]
So unless you need to set a property to use in many places, you can just
refer to the "long" formatted value. That works fine in Registry
elements, for example.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users