I have a Wix installer package that I need to modify. The package is doing a 
registrysearch to extract a string from a given
key (sorry, the key is covered by an NDA). The current string format is 
"##.#.####.#" (minus the quotes of course). The
# should be replaced by a digit. The previous format was "#.#.####.#" .  Yes, 
these are software product version numbers.
The previous format was "9." and the current one is "10.". All that is working 
just fine. HOWEVER, I now need to parse that
string because I need to ensure that the package installed is AT LEAST a 
certain version level. Building the condition
to block or allow install is easy, once I can parse that registry string.

HOW do I parse that registry string from inside of WIX at runtime? It would be 
BEST if I could parse on those periods ".".
but barring that, I would be happy to be able to just break the string into 4 
pieces ##, #, ####, and the rest. The problem
is, I haven't seen (or don't remember seeing) any way to parse/substring the 
contents of a property.

Dane Anderson
ACRO Service Corp.



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to