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.

 

WiX creates MSIs. It does not replace or enhance Windows Installer, and
it is Windows Installer that drives the UI during the installation.

 

Rennie

 

         

        
________________________________


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rik
        Sent: 24. maj 2007 11:49
        To: wix-users@lists.sourceforge.net
        Subject: [WiX-users] WiX and string formatting

        Hi All,
        
        Does anyone know if it is possible to format strings via WiX?
        
        I'd like to be able to manipulate a string entered via the UI so
that it conforms to a certain format.  The scenario I have is that I
have a URL value that I want to insert a port number into).  
        E.g. from 
           tcp:\\server\ 
        to 
           tcp:\\server:11232\
        
        I figured I'd have to use some sort of custom action for this,
but thought I'd check if WiX handled this sort of stuff...
        
        Rik




* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


-------------------------------------------------------------------------
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

Reply via email to