Hi everyone,

Let's say that I have a registry key HKLM\Software\MyProduct with a 
String value "TheDir" = "c:\program files\My product\module"

I can easily get the value by using a RegistrySearch:

<Property Id="MYPROP">
 <RegistrySearch Id="MYPROP" Type="directory" Root="HKLM" 
Key="Software\MyProduct" Name="TheDir" />
</Property>


Here's the question: :)
Is there a way to extract a substring from the retrieved value
i.e. The value in the registry is "c:\program files\My product\module", 
and I would like to set MYPROP to "c:\program files\My product" (get rid 
of the trailing "module")

Thanks for your help.

Fred

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to