JRE installation with Java APP - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”