sunnie_y2s00
Posts: 1
Joined: Wed Jun 03, 2009 7:54 pm

JRE installation with Java APP

I have built up a java swing desktop APP.I have purchased a Java license with Advanced Installer. My requirements are:
  • Check jre available on target machine or not.
  • If not available, install the JRE.
  • If available, check the version. If version lower version then install jre.
  • And once jre installed, install the Java APP
Can any help me out with this prerequisites setting.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: JRE installation with Java APP

Hi,

Please note that the User Guide contains a JRE prerequisite how-to which may help you. Note that the predefined prerequisite does not support update versions for JRE (for example 1.6.0_13). If you want to detect an update version, you can try using a Registry key exists criteria for this key:

Code: Select all

HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_13
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”