Hi, I am doing this for my package, not sure if this is the correct way, but
might be of help: 

<Property Id="JREINSTALLED"> 
<RegistrySearch Key="SOFTWARE\JavaSoft\Java Runtime Environment" Root="HKLM"
Type="raw" Id="JREINSTALLED_REGSEARCH" Name="CurrentVersion" /> 
</Property> 

<Condition Message="Java Runtime Environment is not installed."> 
(JREINSTALLED) 
</Condition> 


there might be better ways to achieve this but this works for my package and
alerts users 
cheers 

-- 
View this message in context: 
http://n2.nabble.com/How-to-check-if-JRE-is-installed-using-WIX-tp4837649p4849482.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; 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