Hi again,

Some of my shortcuts call Java, and I need them to find the "right" one when 
multiple versions are installed. So I set up 4 <Property> elements which set 
JDKHOME15, JREHOME15, JDKHOME16, and JREHOME15 using <RegistrySearch>.

It looks like these properties are being set correctly when I install using 
msiexec and get verbose logging.

How do I set up a <Shortcut> to use [JDKHOME15]\bin\javaw if JDKHOME15 is set, 
or [JREHOME15]bin\javaw if JDKHOME15 is not set and JREHOME15 is, or [etc]? I 
can't work out the <Condition> syntax, and I can't work out how to use a 
<Condition> with <Shortcut>s :-(

Am I even on the right track?

Cheers,

Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to