Hello all,
I am trying to do the following:

   * I am reading a directory from a registry entry that comes back as
     something like C:\dir1\dir2\dir3
   * I want to take that directory path and make it into C:\dir1\dir4
     (basically, I know what dir2 and dir3 are - always.  I want to be
     able to take the substring of the directory path where the
     substring goes from location 0 (the C) to where dir2 begins.  Then
     I can append dir4 - which I also always know the name of.  I hope
     that clarifies this a bit.)

Is there a "simple" way to manipulate that string or property? (I am totally unfamiliar with CDATA so that may be something, but I don't know.)

Here is my code getting the info from the registry. I am hoping I can throw in something within the property tags so it all happens at once following the registry retrieval....if possible I guess.


<Property Id="XMLINSTALLDIR" Value="C:\dir1\dir4">
<RegistrySearch Id="ProductRegEntry" Type="directory" Root="HKLM" Key="Software\COMPANY\PRODUCT" Name="PRODUCTLOCATION"
                           Win64="no" />
</Property>


Thanks for any and all help!!!!

--
______________________________________________________
Andre Nelson
Software Quality Assurance Manager
Frontier Science and Tech Research Foundation
4033 Maple Road Amherst, New York 14226-1056
Phone: (716) 834-0900 x7368
Fax:   (716) 833-0655
Email: [EMAIL PROTECTED]
website: http://www.fstrf.org

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